summaryrefslogtreecommitdiff
path: root/Zend/tests/dynamic_call_004.phpt
blob: 056adfc16ba87800bf472476709598e12b0d3bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Testing dynamic call with undefined variables
--FILE--
<?php 

$a::$b();

?>
--EXPECTF--
Notice: Undefined variable: a in %s on line %d

Fatal error: Uncaught exception 'EngineException' with message 'Class name must be a valid object or a string' in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d