summaryrefslogtreecommitdiff
path: root/Zend/tests/dynamic_call_004.phpt
blob: 9092492311c578111c076b8de0d0d2c4783f270d (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 'Error' 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