#22961 [NEW]: broken test case interface_doubled.phpt
| From: | cynic@php.net | Date: | Sun, 30 Mar 2003 12:09:43 +0000 |
| Subject: | #22961 [NEW]: broken test case interface_doubled.phpt | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-36703@lists.php.net to get a copy of this message | ||
From: cynic@php.net
Operating system: FreeBSD 4.8-RC
PHP version: 5CVS-2003-03-30 (dev)
PHP Bug Type: Unknown/Other Function
Bug description: broken test case interface_doubled.phpt
Index: tests/classes/interface_doubled.phpt
===================================================================
RCS file: /repository/php4/tests/classes/interface_doubled.phpt,v
retrieving revision 1.1
diff -u -r1.1 interface_doubled.phpt
this test's FAILure is bogus:
--- tests/classes/interface_doubled.phpt 12 Mar 2003 00:09:59 -0000 1.1
+++ tests/classes/interface_doubled.phpt 30 Mar 2003 11:45:48 -0000
@@ -30,7 +30,7 @@
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");
}
}
--
Edit bug report at http://bugs.php.net/?id=22961&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22961&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22961&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22961&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22961&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22961&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22961&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22961&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22961&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22961&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22961&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22961&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22961&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22961&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22961&r=gnused