summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lang/bug19943.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/bug19943.phpt b/tests/lang/bug19943.phpt
index 63f8008eaa..eda98d4d84 100644
--- a/tests/lang/bug19943.phpt
+++ b/tests/lang/bug19943.phpt
@@ -11,6 +11,9 @@ Bug #19566 (memleaks)
for ($count = 0; $count < 10; $count++) {
echo $ar[$count]." -- ".$ar[$count]['idx']."\n";
}
+ $a = "0123456789";
+ $a[9] = $a{0};
+ var_dump($a);
?>
--EXPECT--
0 -- 0
@@ -23,3 +26,4 @@ Bug #19566 (memleaks)
7 -- 7
8 -- 8
9 -- 9
+string(10) "0123456780"