From 5f64810ebd0bfe1636d56571aab5f884195b5bcc Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 26 Jul 2009 16:50:41 +0000 Subject: [PATCH] Still lots more Unicode work to be done here, but this is a start --- ext/zlib/tests/005.phpt | 2 +- ext/zlib/tests/006.phpt | 2 +- ext/zlib/tests/zlib_filter_inflate2.phpt | 4 ++-- sapi/cli/php_cli.c | 11 ++++++----- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ext/zlib/tests/005.phpt b/ext/zlib/tests/005.phpt index 5c880f5fe36..d7b661d1703 100644 --- a/ext/zlib/tests/005.phpt +++ b/ext/zlib/tests/005.phpt @@ -28,7 +28,7 @@ var_dump(gzuncompress(b"", 9)); var_dump(gzuncompress($data1)); var_dump(gzuncompress($data2)); -$data2{4} = 0; +$data2[4] = 0; var_dump(gzuncompress((binary)$data2)); echo "Done\n"; diff --git a/ext/zlib/tests/006.phpt b/ext/zlib/tests/006.phpt index c51c8323aad..95b989b307e 100644 --- a/ext/zlib/tests/006.phpt +++ b/ext/zlib/tests/006.phpt @@ -29,7 +29,7 @@ var_dump(gzinflate(b"asdf", 9)); var_dump(gzinflate($data1)); var_dump(gzinflate($data2)); -$data2{4} = 0; +$data2[4] = 0; var_dump(gzinflate((binary)$data2)); echo "Done\n"; diff --git a/ext/zlib/tests/zlib_filter_inflate2.phpt b/ext/zlib/tests/zlib_filter_inflate2.phpt index 4332d8e5e66..a2099b6f7a2 100644 --- a/ext/zlib/tests/zlib_filter_inflate2.phpt +++ b/ext/zlib/tests/zlib_filter_inflate2.phpt @@ -6,7 +6,7 @@ zlib.inflate of gzip-encoded stream