xref: /PHP-5.3/Zend/tests/call_static_004.phpt (revision 380214be)
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
12foo::AaA();
13
14$a = 1;
15foo::$a();
16
17?>
18--EXPECTF--
19string(3) "AaA"
20
21Fatal error: Function name must be a string in %s on line %d
22