xref: /PHP-5.4/Zend/tests/dynamic_call_002.phpt (revision e4c76641)
1--TEST--
2Testing dynamic call with invalid value for method name
3--FILE--
4<?php
5
6$a = new stdClass;
7
8$a::$a();
9
10?>
11--EXPECTF--
12Fatal error: Function name must be a string in %s on line %d
13