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

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

?>
--EXPECTF--
Fatal error: Uncaught Error: Call to undefined method stdClass::b() in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d