1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00
Files
archived-php-src/Zend/tests/call_static_005.phpt
Felipe Pena cde37a23b0 - New tests
2008-06-03 15:36:59 +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