diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-06 19:37:19 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-03-06 19:37:19 +0000 |
commit | 2d40fe2222f6b252423f3a1965f82104ba59a504 (patch) | |
tree | fb41ad2bb4d7f89f2ae32c164d182eef4403522d | |
parent | c775318c4458b157f638effaa6d08081de0980b0 (diff) | |
download | php-git-2d40fe2222f6b252423f3a1965f82104ba59a504.tar.gz |
Further testing on this feature should have been done...
-rw-r--r-- | tests/lang/bug19943.phpt | 4 |
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" |