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

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

?>
--EXPECTF--
Fatal error: Call to undefined method stdClass::b() in %s on line %d