From aafaa9c01958f26a0b5289f9aa52c1c3d9489f26 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 30 Jun 2009 11:37:42 +0000 Subject: [PATCH] - New test --- Zend/tests/bug48693.phpt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Zend/tests/bug48693.phpt diff --git a/Zend/tests/bug48693.phpt b/Zend/tests/bug48693.phpt new file mode 100644 index 0000000000..e574346029 --- /dev/null +++ b/Zend/tests/bug48693.phpt @@ -0,0 +1,28 @@ +--TEST-- +Bug #48693 (Double declaration of __lambda_func when lambda wrongly formatted) +--FILE-- + +--EXPECTF-- +Parse error: syntax error, unexpected '}' in %s(%d) : runtime-created function on line 1 + +Parse error: syntax error, unexpected $end in %s(%d) : runtime-created function on line 1 +bool(false) +int(2) +bool(false) +int(3) +bool(true) -- 2.50.1