1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/Zend/tests/call_static_005.phpt
Felipe Pena 6ff90104aa - New tests
2008-06-03 15:30:04 +00:00

18 lines
243 B
PHP

--TEST--
Invalid method name in dynamic static call
--FILE--
<?php
class foo {
static function __callstatic($a, $b) {
var_dump($a);
}
}
$a = 'foo::';
$a();
?>
--EXPECTF--
Fatal error: Call to undefined function foo::() in %s on line %d