]> granicus.if.org Git - php/commitdiff
bugfix #22961 by cynic@php.net
authorMarcus Boerger <helly@php.net>
Sun, 30 Mar 2003 12:47:05 +0000 (12:47 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 30 Mar 2003 12:47:05 +0000 (12:47 +0000)
tests/classes/interface_doubled.phpt

index 0a80097b9b530d004467d3fd9569410cba023dee..ecde84835b3339509c6638393ecc44002c92e01d 100644 (file)
@@ -30,7 +30,7 @@ interface if_f extends if_e implements if_a, if_b, if_c, if_d, if_e {
 
 class base {
        function test($class) {
-               echo "is_a(" . class_name($this) . ", $class) ". (is_a($this, $class) ? "yes\n" : "no\n");
+               echo "is_a(" . get_class($this) . ", $class) ". (is_a($this, $class) ? "yes\n" : "no\n");
        }
 }