summaryrefslogtreecommitdiff
path: root/ext/iconv
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-11-16 15:13:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-11-16 15:13:20 +0000
commitcce5e8c9ea845ddd180a61d64bf1bfef34bd3218 (patch)
tree01ab48c71a6033d25b6f3baf8e8ff9825706a3d8 /ext/iconv
parent9aeb125f4a8158cafcfa208007e51e918b3489c8 (diff)
downloadphp-git-cce5e8c9ea845ddd180a61d64bf1bfef34bd3218.tar.gz
Updated tests to use [] instead of {}
Diffstat (limited to 'ext/iconv')
-rw-r--r--ext/iconv/tests/iconv_substr.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/tests/iconv_substr.phpt b/ext/iconv/tests/iconv_substr.phpt
index efa746e6de..5ee01d488a 100644
--- a/ext/iconv/tests/iconv_substr.phpt
+++ b/ext/iconv/tests/iconv_substr.phpt
@@ -9,7 +9,7 @@ iconv.internal_charset=ISO-8859-1
function hexdump($str) {
$len = strlen($str);
for ($i = 0; $i < $len; ++$i) {
- printf("%02x", ord($str{$i}));
+ printf("%02x", ord($str[$i]));
}
print "\n";
}