overloaded_func_001.phpt 377 B

123456789101112131415
  1. --TEST--
  2. Overloaded function 001
  3. --SKIPIF--
  4. <?php
  5. if (!extension_loaded('zend-test')) die('skip zend-test extension not loaded');
  6. ?>
  7. --FILE--
  8. <?php
  9. var_dump(_ZendTestClass::test());
  10. ?>
  11. --EXPECTF--
  12. Fatal error: Uncaught Error: Cannot call overloaded function for non-object in %soverloaded_func_001.php:%d
  13. Stack trace:
  14. #0 {main}
  15. thrown in %soverloaded_func_001.php on line %d