summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-03-30 12:47:05 +0000
committerMarcus Boerger <helly@php.net>2003-03-30 12:47:05 +0000
commit0ee6377b425fc7e566bce99bded8154025b3a688 (patch)
tree84ee93bd75cfa19e2f512f29ffc3be79e1e79f04 /tests
parentbd4cdab9cfac9f89f4d0047426af6103a80bab87 (diff)
downloadphp-git-0ee6377b425fc7e566bce99bded8154025b3a688.tar.gz
bugfix #22961 by cynic@php.net
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/interface_doubled.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/interface_doubled.phpt b/tests/classes/interface_doubled.phpt
index 0a80097b9b..ecde84835b 100644
--- a/tests/classes/interface_doubled.phpt
+++ b/tests/classes/interface_doubled.phpt
@@ -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");
}
}