summaryrefslogtreecommitdiff
path: root/ext/phar/tests/009.phpt
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2007-01-29 03:59:55 +0000
committerGreg Beaver <cellog@php.net>2007-01-29 03:59:55 +0000
commitc6dc9be48998b4766004364ca57221e01d50e1c1 (patch)
treec812457cb4bb5e346999e7d1a2cd8d97b3030967 /ext/phar/tests/009.phpt
parent185a961812240021fb7259801237d1449e2e28b7 (diff)
downloadphp-git-c6dc9be48998b4766004364ca57221e01d50e1c1.tar.gz
implement Phar->getMetadata() Phar->setMetadata(), add tests, implement meta-data in the header
Diffstat (limited to 'ext/phar/tests/009.phpt')
-rw-r--r--ext/phar/tests/009.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/tests/009.phpt b/ext/phar/tests/009.phpt
index d594e88f4f..6a5bb73187 100644
--- a/ext/phar/tests/009.phpt
+++ b/ext/phar/tests/009.phpt
@@ -9,7 +9,7 @@ phar.require_hash=0
$file = "<?php
Phar::mapPhar('hio');
__HALT_COMPILER(); ?>";
-$file .= pack('VVnVV', 500, 500, 0x0900, 0x00000000, 0) . str_repeat('A', 500);
+$file .= pack('VVnVVV', 500, 500, 0x1000, 0x00000000, 0, 0) . str_repeat('A', 500);
file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file);
include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php';
?>