diff options
Diffstat (limited to 'tests/strings')
-rwxr-xr-x | tests/strings/bug22592.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/strings/bug22592.phpt b/tests/strings/bug22592.phpt index 0c13e50164..3443c32859 100755 --- a/tests/strings/bug22592.phpt +++ b/tests/strings/bug22592.phpt @@ -9,12 +9,12 @@ $t = $x[] = 'x'; var_dump($correct); var_dump($wrong); -$correct{1} = '*'; -$correct{3} = '*'; -$correct{5} = '*'; +$correct[1] = '*'; +$correct[3] = '*'; +$correct[5] = '*'; // This produces the -$wrong{1} = $wrong{3} = $wrong{5} = '*'; +$wrong[1] = $wrong[3] = $wrong[5] = '*'; var_dump($correct); var_dump($wrong); |