summaryrefslogtreecommitdiff
path: root/ext/phar/tests/files/phar_test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/files/phar_test.inc')
-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