summaryrefslogtreecommitdiff
path: root/ext/phar/tests/files
diff options
context:
space:
mode:
authorSteph Fox <sfox@php.net>2008-05-14 21:29:51 +0000
committerSteph Fox <sfox@php.net>2008-05-14 21:29:51 +0000
commit6a0682d986c8e7fa16b51a8c3fd8f7cc01660426 (patch)
tree3f4902979371a318d695b6a09dc003c95b6a0258 /ext/phar/tests/files
parentb3b5126954689c93baddbbe48f714594bf7dac13 (diff)
downloadphp-git-6a0682d986c8e7fa16b51a8c3fd8f7cc01660426.tar.gz
- MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.
Diffstat (limited to 'ext/phar/tests/files')
-rw-r--r--ext/phar/tests/files/phar_test.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/files/phar_test.inc b/ext/phar/tests/files/phar_test.inc
index a5e9d3fdc8..0f989f9db1 100644
--- a/ext/phar/tests/files/phar_test.inc
+++ b/ext/phar/tests/files/phar_test.inc
@@ -36,7 +36,7 @@ foreach($files as $name => $cont)
if (empty($comp)) $comp = $cont;
if (empty($ulen)) $ulen = strlen($cont);
if (empty($clen)) $clen = strlen($comp);
- if (empty($crc32))$crc32= crc32($cont);
+ if (empty($crc32))$crc32= crc32((binary)$cont);
if (isset($meta)) $meta = serialize($meta);
// write manifest entry