diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-23 07:40:05 +0000 |
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-23 07:40:05 +0000 |
| commit | 86c0d81253f62414384c6c92f9283e545dfccfc7 (patch) | |
| tree | 87e002242eebe3f695c4c2fd12d2ad84f57913a2 /tests/lang/023-1.inc | |
| parent | b17451635d4a7c3392aad8adadca31d36410514c (diff) | |
| download | php-git-86c0d81253f62414384c6c92f9283e545dfccfc7.tar.gz | |
have you ever tried to run the regression tests with error_reporting=E_ALL ?
now it will run smoothly without all theese 'undefined ...' warnings
Diffstat (limited to 'tests/lang/023-1.inc')
| -rwxr-xr-x | tests/lang/023-1.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lang/023-1.inc b/tests/lang/023-1.inc index 7fa22ea414..8d52e844c9 100755 --- a/tests/lang/023-1.inc +++ b/tests/lang/023-1.inc @@ -226,7 +226,7 @@ while ($i<$arr_len) { while ($j<$arr_len) { $k=0; while ($k<$arr_len) { - ${test.$i.$j}[$k] = $i+$j+$k; + ${"test$i$j"}[$k] = $i+$j+$k; $k++; } $j++; @@ -275,17 +275,17 @@ echo "commented out..."; *** Hash resizing test ***<br> <?php $i = 10; -$a = b; +$a = 'b'; while ($i > 0) { - $a = $a . a; + $a = $a . 'a'; echo "$a<br>\n"; $resize[$a] = $i; $i--; } $i = 10; -$a = b; +$a = 'b'; while ($i > 0) { - $a = $a . a; + $a = $a . 'a'; echo "$a<br>\n"; echo $resize[$a]."<br>\n"; $i--; |
