From d7e3aca9c96e93acfee2deeeb7b481cadd28438d Mon Sep 17 00:00:00 2001 From: Anthony Ferrara Date: Fri, 30 Aug 2013 11:53:57 -0400 Subject: Fix issue with global fallback when not in global space --- Zend/tests/use_function/no_global_fallback2.phpt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Zend/tests/use_function/no_global_fallback2.phpt diff --git a/Zend/tests/use_function/no_global_fallback2.phpt b/Zend/tests/use_function/no_global_fallback2.phpt new file mode 100644 index 0000000000..5d012c10e5 --- /dev/null +++ b/Zend/tests/use_function/no_global_fallback2.phpt @@ -0,0 +1,18 @@ +--TEST-- +non-existent imported functions should not be looked up in the global table +--FILE-- + +--EXPECTF-- +Fatal error: Call to undefined function bar\test() in %s on line %d -- cgit v1.2.1