diff options
Diffstat (limited to 'Zend/tests/indirect_call_array_002.phpt')
-rw-r--r-- | Zend/tests/indirect_call_array_002.phpt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/indirect_call_array_002.phpt b/Zend/tests/indirect_call_array_002.phpt new file mode 100644 index 0000000..013fa55 --- /dev/null +++ b/Zend/tests/indirect_call_array_002.phpt @@ -0,0 +1,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 |