From 60152a0db836fefcdd72077ba375888f151f0dbc Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 2 Jul 2003 17:51:15 +0000 Subject: [PATCH] Add test case --- tests/lang/bug24403.phpt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/lang/bug24403.phpt diff --git a/tests/lang/bug24403.phpt b/tests/lang/bug24403.phpt new file mode 100644 index 00000000000..728dd1d7347 --- /dev/null +++ b/tests/lang/bug24403.phpt @@ -0,0 +1,20 @@ +--TEST-- +Bug #24403 (scope doesn't properly propagate into internal functions) +--FILE-- +a) ? '\'.\$p[\'\\1\'].\'' : +'\'.\$r[\'\\1\'].\'')", + "{a} b {c}"); + } +} +new a(); +?> +--EXPECT--