cvs: ZendEngine2 /tests bug26802.phpt
| From: | Marcus Boerger | Date: | Mon, 05 Jan 2004 22:17:14 +0000 |
| Subject: | cvs: ZendEngine2 /tests bug26802.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2177@lists.php.net to get a copy of this message | ||
helly Mon Jan 5 17:17:14 2004 EDT
Added files:
/ZendEngine2/tests bug26802.phpt
Log:
Add new test
Index: ZendEngine2/tests/bug26802.phpt
+++ ZendEngine2/tests/bug26802.phpt
--TEST--
#26802 (Can't call static method using a variable)
--FILE--
<?php
class foo
{
static public function bar() {
print "baz\n";
}
}
foo::bar();
$static_method = "foo::bar";
$static_method();
?>
===DONE===
--EXPECT--
baz
===DONE===