diff options
Diffstat (limited to 'Zend/tests/bug27669.phpt')
-rw-r--r-- | Zend/tests/bug27669.phpt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Zend/tests/bug27669.phpt b/Zend/tests/bug27669.phpt index 97b15590e2..679c7a6105 100644 --- a/Zend/tests/bug27669.phpt +++ b/Zend/tests/bug27669.phpt @@ -3,15 +3,12 @@ Bug #27669 (PHP 5 didn't support all possibilities for calling static methods dy --FILE-- <?php class A { - function hello() { + static function hello() { echo "Hello World\n"; } } $y[0] = 'hello'; A::{$y[0]}(); ?> -===DONE=== --EXPECTF-- -Deprecated: Non-static method A::hello() should not be called statically in %s on line %d Hello World -===DONE=== |