php-src/Zend/tests/overloaded_func_001.phpt
2018-07-30 09:03:21 -03:00

16 lines
377 B
PHP

--TEST--
Overloaded function 001
--SKIPIF--
<?php
if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
?>
--FILE--
<?php
var_dump(_ZendTestClass::test());
?>
--EXPECTF--
Fatal error: Uncaught Error: Cannot call overloaded function for non-object in %soverloaded_func_001.php:%d
Stack trace:
#0 {main}
thrown in %soverloaded_func_001.php on line %d