summaryrefslogtreecommitdiff
path: root/tests/strings/bug22592.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/strings/bug22592.phpt')
-rwxr-xr-xtests/strings/bug22592.phpt27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/strings/bug22592.phpt b/tests/strings/bug22592.phpt
deleted file mode 100755
index 0c13e50164..0000000000
--- a/tests/strings/bug22592.phpt
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-Bug #22592 (Cascading assignments to strings with curly braces broken)
---FILE--
-<?php
-$wrong = $correct = 'abcdef';
-
-$t = $x[] = 'x';
-
-var_dump($correct);
-var_dump($wrong);
-
-$correct{1} = '*';
-$correct{3} = '*';
-$correct{5} = '*';
-
-// This produces the
-$wrong{1} = $wrong{3} = $wrong{5} = '*';
-
-var_dump($correct);
-var_dump($wrong);
-
-?>
---EXPECT--
-string(6) "abcdef"
-string(6) "abcdef"
-string(6) "a*c*e*"
-string(6) "a*c*e*"