summaryrefslogtreecommitdiff
path: root/Zend/tests/dynamic_call_004.phpt
blob: ad507c29539cc33edd8348e8e8545cc74ab7e416 (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 Error: Class name must be a valid object or a string in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d