xref: /PHP-5.4/Zend/tests/call_static_005.phpt (revision 6ff90104)
1--TEST--
2Invalid method name in dynamic static call
3--FILE--
4<?php
5
6class foo {
7	static function __callstatic($a, $b) {
8		var_dump($a);
9	}
10}
11
12$a = 'foo::';
13$a();
14
15?>
16--EXPECTF--
17Fatal error: Call to undefined function foo::() in %s on line %d
18