summaryrefslogtreecommitdiff
path: root/Zend/tests/indirect_call_array_001.phpt
blob: d76837c8eb90f5cf7ab1834f2622fd3869fd1ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Indirect method call by array - Invalid class name
--FILE--
<?php

$arr = array('a', 'b');
$arr();

?>
--EXPECTF--
Fatal error: Uncaught Error: Class 'a' not found in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d