diff options
Diffstat (limited to 'Zend/tests/dynamic_call_002.phpt')
-rw-r--r-- | Zend/tests/dynamic_call_002.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/dynamic_call_002.phpt b/Zend/tests/dynamic_call_002.phpt new file mode 100644 index 0000000..dcb1529 --- /dev/null +++ b/Zend/tests/dynamic_call_002.phpt @@ -0,0 +1,12 @@ +--TEST-- +Testing dynamic call with invalid value for method name +--FILE-- +<?php + +$a = new stdClass; + +$a::$a(); + +?> +--EXPECTF-- +Fatal error: Function name must be a string in %s on line %d |