cvs: ZendEngine2 /tests bug27669.phpt
| From: | Andi Gutmans | Date: | Thu, 16 Sep 2004 19:36:56 +0000 |
| Subject: | cvs: ZendEngine2 /tests bug27669.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2987@lists.php.net to get a copy of this message | ||
andi Thu Sep 16 15:36:56 2004 EDT
Added files:
/ZendEngine2/tests bug27669.phpt
Log:
- Add test for bug #27669
http://cvs.php.net/co.php/ZendEngine2/tests/bug27669.phpt?r=1.1&p=1
Index: ZendEngine2/tests/bug27669.phpt
+++ ZendEngine2/tests/bug27669.phpt
--TEST--
Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dynamically)
--FILE--
<?php
error_reporting(E_ALL & !E_STRICT);
class A {
function hello() {
echo "Hello World\n";
}
}
$y[0] = 'hello';
A::$y[0]();
?>
===DONE===
--EXPECTF--
Hello World
===DONE===