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