php-src/Zend/tests/dynamic_call_004.phpt
2008-05-11 03:50:28 +00:00

13 lines
222 B
PHP

--TEST--
Testing dynamic call with undefined variables
--FILE--
<?php
$a::$b();
?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
Fatal error: Class name must be a valid object or a string in %s on line %d