summaryrefslogtreecommitdiff
path: root/tests/lang/bug24403.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug24403.phpt')
-rw-r--r--tests/lang/bug24403.phpt20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/lang/bug24403.phpt b/tests/lang/bug24403.phpt
deleted file mode 100644
index 2acc54cf08..0000000000
--- a/tests/lang/bug24403.phpt
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-Bug #24403 (scope doesn't properly propagate into internal functions)
---FILE--
-<?php
-class a
-{
- var $a = array();
-
- function a()
- {
- $output = preg_replace(
- '!\{\s*([a-z0-9_]+)\s*\}!sie',
- "(in_array('\\1',\$this->a) ? '\'.\$p[\'\\1\'].\'' :
-'\'.\$r[\'\\1\'].\'')",
- "{a} b {c}");
- }
-}
-new a();
-?>
---EXPECT--