<?php
    
class TheNetherlands {
        var 
$area;
        function 
TheNetherlands($area) {
            
$this->area $area;
        }
    }

    
$holland = new TheNetherlands('Holland');

    echo 
get_class($holland), "\n";
?>


PHP 4:

thenetherlands


PHP 5:

TheNetherlands


The same is true for get_parent_class() and get_class_methods().