diff options
Diffstat (limited to 'ext/phar')
123 files changed, 171 insertions, 171 deletions
diff --git a/ext/phar/tests/001.phpt b/ext/phar/tests/001.phpt index 397501e8e4..42d3bd83c3 100644 --- a/ext/phar/tests/001.phpt +++ b/ext/phar/tests/001.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::apiVersion --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php var_dump(Phar::apiVersion()); diff --git a/ext/phar/tests/002.phpt b/ext/phar/tests/002.phpt index 5a7b4289ea..a7cf0cb2d2 100644 --- a/ext/phar/tests/002.phpt +++ b/ext/phar/tests/002.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar truncated manifest/improper params --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php try { diff --git a/ext/phar/tests/003.phpt b/ext/phar/tests/003.phpt index 693bfdccd7..fcc95a8481 100644 --- a/ext/phar/tests/003.phpt +++ b/ext/phar/tests/003.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::canCompress --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php /* check this works and actually returns the boolean value */ diff --git a/ext/phar/tests/003a.phpt b/ext/phar/tests/003a.phpt index a439cbb8dc..37e31072d4 100755 --- a/ext/phar/tests/003a.phpt +++ b/ext/phar/tests/003a.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::canCompress, specific --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --FILE-- <?php var_dump(Phar::canCompress(Phar::GZ) == extension_loaded("zlib")); diff --git a/ext/phar/tests/004.phpt b/ext/phar/tests/004.phpt index 17190a9ec2..963a9b45a0 100644 --- a/ext/phar/tests/004.phpt +++ b/ext/phar/tests/004.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar no __HALT_COMPILER(); --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --FILE-- <?php try { diff --git a/ext/phar/tests/005.phpt b/ext/phar/tests/005.phpt index c8fddf572f..a6e3449016 100644 --- a/ext/phar/tests/005.phpt +++ b/ext/phar/tests/005.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar truncated manifest (none) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --FILE-- <?php try { diff --git a/ext/phar/tests/006.phpt b/ext/phar/tests/006.phpt index 86b1117925..b2e8b29ef9 100644 --- a/ext/phar/tests/006.phpt +++ b/ext/phar/tests/006.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar truncated manifest (manifest length truncated) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --FILE-- <?php try { diff --git a/ext/phar/tests/007.phpt b/ext/phar/tests/007.phpt index 1519f4fe40..a8a2fb0d80 100644 --- a/ext/phar/tests/007.phpt +++ b/ext/phar/tests/007.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar manifest too big --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --FILE-- <?php try { diff --git a/ext/phar/tests/008.phpt b/ext/phar/tests/008.phpt index 81e09dc70b..664ffea5cb 100644 --- a/ext/phar/tests/008.phpt +++ b/ext/phar/tests/008.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar truncated manifest (not enough for manifest length) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --FILE-- <?php $file = "<?php diff --git a/ext/phar/tests/009.phpt b/ext/phar/tests/009.phpt index 6a480c3852..c80445d61b 100644 --- a/ext/phar/tests/009.phpt +++ b/ext/phar/tests/009.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar too many manifest entries --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/010.phpt b/ext/phar/tests/010.phpt index 3dcf495d9a..3dce5f8f4c 100644 --- a/ext/phar/tests/010.phpt +++ b/ext/phar/tests/010.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar buffer overrun --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/011.phpt b/ext/phar/tests/011.phpt index ac85477841..1c6f4d0f14 100644 --- a/ext/phar/tests/011.phpt +++ b/ext/phar/tests/011.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar filesize too small in manifest --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/012.phpt b/ext/phar/tests/012.phpt index f090f2ff12..d6b5ada95e 100644 --- a/ext/phar/tests/012.phpt +++ b/ext/phar/tests/012.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar valid file --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/013.phpt b/ext/phar/tests/013.phpt index 677d8ca81f..9e89577379 100644 --- a/ext/phar/tests/013.phpt +++ b/ext/phar/tests/013.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar filesize mismatch --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/014.phpt b/ext/phar/tests/014.phpt index 70a5b53c35..84f482a70b 100644 --- a/ext/phar/tests/014.phpt +++ b/ext/phar/tests/014.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::mapPhar filesize mismatch --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/015.phpt b/ext/phar/tests/015.phpt index b7c4241433..cb44c54f77 100644 --- a/ext/phar/tests/015.phpt +++ b/ext/phar/tests/015.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::mapPhar valid file (gzipped) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/015b.phpt b/ext/phar/tests/015b.phpt index 19640b0f24..c1664acd9e 100755 --- a/ext/phar/tests/015b.phpt +++ b/ext/phar/tests/015b.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::mapPhar valid file (bzip2) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not present"; ?> +<?php if (!extension_loaded("phar")) die("skip");?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not present"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/016.phpt b/ext/phar/tests/016.phpt index 89310e7108..44e4b73062 100644 --- a/ext/phar/tests/016.phpt +++ b/ext/phar/tests/016.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::mapPhar invalid file (gzipped file length is too short) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip");?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/016b.phpt b/ext/phar/tests/016b.phpt index 124a248fa1..31b7f84ff8 100755 --- a/ext/phar/tests/016b.phpt +++ b/ext/phar/tests/016b.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::mapPhar invalid file (gzipped file length is too short) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip");?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/017.phpt b/ext/phar/tests/017.phpt index a0c1926de7..3f7110e125 100644 --- a/ext/phar/tests/017.phpt +++ b/ext/phar/tests/017.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: opendir test - no dir specified at all --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/018.phpt b/ext/phar/tests/018.phpt index 84b8e088b7..361a1285ef 100644 --- a/ext/phar/tests/018.phpt +++ b/ext/phar/tests/018.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: opendir test, root directory --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/019.phpt b/ext/phar/tests/019.phpt index 818dfd7ec5..7bf062e862 100644 --- a/ext/phar/tests/019.phpt +++ b/ext/phar/tests/019.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: opendir test, subdirectory --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/019b.phpt b/ext/phar/tests/019b.phpt index f1e6455a80..67faf0dc6e 100755 --- a/ext/phar/tests/019b.phpt +++ b/ext/phar/tests/019b.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: opendir test, recurse into --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/019c.phpt b/ext/phar/tests/019c.phpt index a9c4bbcf4a..f896cb1720 100755 --- a/ext/phar/tests/019c.phpt +++ b/ext/phar/tests/019c.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: opendir test, recurse into --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/020.phpt b/ext/phar/tests/020.phpt index 1b6db82b83..0511c9de13 100644 --- a/ext/phar/tests/020.phpt +++ b/ext/phar/tests/020.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: url stat --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/021.phpt b/ext/phar/tests/021.phpt index 3a237ceb07..1574b1c439 100644 --- a/ext/phar/tests/021.phpt +++ b/ext/phar/tests/021.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: stream stat --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/022.phpt b/ext/phar/tests/022.phpt index 70210e1cc7..fdb26a5615 100644 --- a/ext/phar/tests/022.phpt +++ b/ext/phar/tests/022.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: stream stat --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/023.phpt b/ext/phar/tests/023.phpt index a6d674af45..ee5dfc6ab7 100755 --- a/ext/phar/tests/023.phpt +++ b/ext/phar/tests/023.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: phar:// file_get_contents --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/024.phpt b/ext/phar/tests/024.phpt index 29cd595c61..716749859f 100755 --- a/ext/phar/tests/024.phpt +++ b/ext/phar/tests/024.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: phar:// include --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/025.phpt b/ext/phar/tests/025.phpt index b85c85b470..401ab52b30 100755 --- a/ext/phar/tests/025.phpt +++ b/ext/phar/tests/025.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: phar:// include (repeated names) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/026.phpt b/ext/phar/tests/026.phpt index 5cb72e8aab..224ca9f04c 100755 --- a/ext/phar/tests/026.phpt +++ b/ext/phar/tests/026.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: phar:// require from within --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/027.phpt b/ext/phar/tests/027.phpt index 6b6c1eece8..b4f44d77a6 100755 --- a/ext/phar/tests/027.phpt +++ b/ext/phar/tests/027.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: phar:// opendir --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/028.phpt b/ext/phar/tests/028.phpt index c4e4abb32f..085d29607a 100755 --- a/ext/phar/tests/028.phpt +++ b/ext/phar/tests/028.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::loadPhar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/029.phpt b/ext/phar/tests/029.phpt index 37f7b4edaf..966fe1c6b7 100755 --- a/ext/phar/tests/029.phpt +++ b/ext/phar/tests/029.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::loadPhar overloading alias names --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/030.phpt b/ext/phar/tests/030.phpt index cd0a41b311..d9dee01f65 100755 --- a/ext/phar/tests/030.phpt +++ b/ext/phar/tests/030.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::loadPhar ignoring alias --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/031.phpt b/ext/phar/tests/031.phpt index 67efe85622..ceb057bc60 100755 --- a/ext/phar/tests/031.phpt +++ b/ext/phar/tests/031.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: include and parser error --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/032.phpt b/ext/phar/tests/032.phpt index f7d11c6d64..2db715dbb0 100755 --- a/ext/phar/tests/032.phpt +++ b/ext/phar/tests/032.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: require hash --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=1 --FILE-- diff --git a/ext/phar/tests/033.phpt b/ext/phar/tests/033.phpt index ddcc36ae54..ceae7ea681 100644 --- a/ext/phar/tests/033.phpt +++ b/ext/phar/tests/033.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::chmod --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/033a.phpt b/ext/phar/tests/033a.phpt index 64a5a01b13..1df67f5a16 100644 --- a/ext/phar/tests/033a.phpt +++ b/ext/phar/tests/033a.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::chmod --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/create_new_and_modify.phpt b/ext/phar/tests/create_new_and_modify.phpt index 90e5527e24..66587de023 100755 --- a/ext/phar/tests/create_new_and_modify.phpt +++ b/ext/phar/tests/create_new_and_modify.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: create and modify phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/create_new_phar.phpt b/ext/phar/tests/create_new_phar.phpt index 2781f0c7bf..ec57c27217 100644 --- a/ext/phar/tests/create_new_phar.phpt +++ b/ext/phar/tests/create_new_phar.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: create a completely new phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/create_new_phar_b.phpt b/ext/phar/tests/create_new_phar_b.phpt index 4f0601be10..7c9491fa0a 100755 --- a/ext/phar/tests/create_new_phar_b.phpt +++ b/ext/phar/tests/create_new_phar_b.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: create a completely new phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=1 diff --git a/ext/phar/tests/create_new_phar_c.phpt b/ext/phar/tests/create_new_phar_c.phpt index 48702ecec4..6beaa2eb61 100755 --- a/ext/phar/tests/create_new_phar_c.phpt +++ b/ext/phar/tests/create_new_phar_c.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: create a completely new phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/create_path_error.phpt b/ext/phar/tests/create_path_error.phpt index cdb5b5f6da..1ba89d759b 100755 --- a/ext/phar/tests/create_path_error.phpt +++ b/ext/phar/tests/create_path_error.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: create with illegal path --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/delete.phpt b/ext/phar/tests/delete.phpt index 10bb89a61a..b11580b882 100644 --- a/ext/phar/tests/delete.phpt +++ b/ext/phar/tests/delete.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: delete test --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/delete_in_phar.phpt b/ext/phar/tests/delete_in_phar.phpt index b33e2b2523..f944bc8961 100644 --- a/ext/phar/tests/delete_in_phar.phpt +++ b/ext/phar/tests/delete_in_phar.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: delete a file within a .phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/delete_in_phar_b.phpt b/ext/phar/tests/delete_in_phar_b.phpt index c967644d99..55a5acb1cf 100755 --- a/ext/phar/tests/delete_in_phar_b.phpt +++ b/ext/phar/tests/delete_in_phar_b.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: delete a file within a .phar --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/delete_in_phar_confirm.phpt b/ext/phar/tests/delete_in_phar_confirm.phpt index 11c884bd7b..e24f273ee9 100644 --- a/ext/phar/tests/delete_in_phar_confirm.phpt +++ b/ext/phar/tests/delete_in_phar_confirm.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: delete a file within a .phar (confirm disk file is changed) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/extracted_001.phpt b/ext/phar/tests/extracted_001.phpt index a84f9708ce..d11a3fc616 100755 --- a/ext/phar/tests/extracted_001.phpt +++ b/ext/phar/tests/extracted_001.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: extracted --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/frontcontroller1.phpt b/ext/phar/tests/frontcontroller1.phpt index afc9096a06..2c5e35c141 100644 --- a/ext/phar/tests/frontcontroller1.phpt +++ b/ext/phar/tests/frontcontroller1.phpt @@ -1,7 +1,7 @@ --TEST-- Phar front controller --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/frontcontroller2.phpt b/ext/phar/tests/frontcontroller2.phpt index a40b196527..d1449a2f49 100644 --- a/ext/phar/tests/frontcontroller2.phpt +++ b/ext/phar/tests/frontcontroller2.phpt @@ -1,7 +1,7 @@ --TEST-- Phar front controller php --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/frontcontroller3.phpt b/ext/phar/tests/frontcontroller3.phpt index 586d4cf435..99bba11660 100644 --- a/ext/phar/tests/frontcontroller3.phpt +++ b/ext/phar/tests/frontcontroller3.phpt @@ -1,7 +1,7 @@ --TEST-- Phar front controller phps --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/ini_set.phpt b/ext/phar/tests/ini_set.phpt index 6cffcd5e33..588cd4a74b 100644 --- a/ext/phar/tests/ini_set.phpt +++ b/ext/phar/tests/ini_set.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: test ini_set with readonly and require_hash enabled --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=1 phar.readonly=1 diff --git a/ext/phar/tests/ini_set_off.phpt b/ext/phar/tests/ini_set_off.phpt index cccf588e47..7da07c5d8d 100644 --- a/ext/phar/tests/ini_set_off.phpt +++ b/ext/phar/tests/ini_set_off.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: test ini_set with readonly and require_hash disabled --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/metadata_read.phpt b/ext/phar/tests/metadata_read.phpt index 83c96cf9e1..2b04b679b7 100644 --- a/ext/phar/tests/metadata_read.phpt +++ b/ext/phar/tests/metadata_read.phpt @@ -1,7 +1,7 @@ --TEST-- Phar with meta-data (read) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/metadata_write.phpt b/ext/phar/tests/metadata_write.phpt index e9be873b2c..72881d6bfe 100755 --- a/ext/phar/tests/metadata_write.phpt +++ b/ext/phar/tests/metadata_write.phpt @@ -1,7 +1,7 @@ --TEST-- Phar with meta-data (write) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/metadata_write_commit.phpt b/ext/phar/tests/metadata_write_commit.phpt index 06a66d9c98..e097bb0e49 100755 --- a/ext/phar/tests/metadata_write_commit.phpt +++ b/ext/phar/tests/metadata_write_commit.phpt @@ -1,7 +1,7 @@ --TEST-- Phar with meta-data (write) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/open_for_write_existing.phpt b/ext/phar/tests/open_for_write_existing.phpt index a1ab33a6b7..e333f25d2a 100644 --- a/ext/phar/tests/open_for_write_existing.phpt +++ b/ext/phar/tests/open_for_write_existing.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (existing file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/open_for_write_existing_b.phpt b/ext/phar/tests/open_for_write_existing_b.phpt index a4f4d03092..67674ba3a8 100755 --- a/ext/phar/tests/open_for_write_existing_b.phpt +++ b/ext/phar/tests/open_for_write_existing_b.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (existing file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/open_for_write_existing_c.phpt b/ext/phar/tests/open_for_write_existing_c.phpt index b7a61c7b0b..08eb1fd167 100755 --- a/ext/phar/tests/open_for_write_existing_c.phpt +++ b/ext/phar/tests/open_for_write_existing_c.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (existing file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/open_for_write_newfile.phpt b/ext/phar/tests/open_for_write_newfile.phpt index 0594103f17..39d7d566c6 100644 --- a/ext/phar/tests/open_for_write_newfile.phpt +++ b/ext/phar/tests/open_for_write_newfile.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (new file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/open_for_write_newfile_b.phpt b/ext/phar/tests/open_for_write_newfile_b.phpt index 3ee7b70947..7c45291903 100755 --- a/ext/phar/tests/open_for_write_newfile_b.phpt +++ b/ext/phar/tests/open_for_write_newfile_b.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (new file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/open_for_write_newfile_c.phpt b/ext/phar/tests/open_for_write_newfile_c.phpt index ce0562b48c..e06c6496d8 100755 --- a/ext/phar/tests/open_for_write_newfile_c.phpt +++ b/ext/phar/tests/open_for_write_newfile_c.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: fopen a .phar for writing (new file) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/phar_begin_setstub_commit.phpt b/ext/phar/tests/phar_begin_setstub_commit.phpt index ece362f350..d36865ddc5 100755 --- a/ext/phar/tests/phar_begin_setstub_commit.phpt +++ b/ext/phar/tests/phar_begin_setstub_commit.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::startBuffering()/setStub()/stopBuffering() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator1.phpt b/ext/phar/tests/phar_buildfromiterator1.phpt index 655285806e..f75823f94c 100644 --- a/ext/phar/tests/phar_buildfromiterator1.phpt +++ b/ext/phar/tests/phar_buildfromiterator1.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() readonly --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator2.phpt b/ext/phar/tests/phar_buildfromiterator2.phpt index 44cde5ea74..cdc2df1050 100644 --- a/ext/phar/tests/phar_buildfromiterator2.phpt +++ b/ext/phar/tests/phar_buildfromiterator2.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() wrong object --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator3.phpt b/ext/phar/tests/phar_buildfromiterator3.phpt index d3bac72c0d..5fca706041 100644 --- a/ext/phar/tests/phar_buildfromiterator3.phpt +++ b/ext/phar/tests/phar_buildfromiterator3.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, but object passed --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator4.phpt b/ext/phar/tests/phar_buildfromiterator4.phpt index 8362384988..3c20460d53 100644 --- a/ext/phar/tests/phar_buildfromiterator4.phpt +++ b/ext/phar/tests/phar_buildfromiterator4.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, 1 file passed in --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator5.phpt b/ext/phar/tests/phar_buildfromiterator5.phpt index 04fc04204d..3bd2cec78c 100644 --- a/ext/phar/tests/phar_buildfromiterator5.phpt +++ b/ext/phar/tests/phar_buildfromiterator5.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, iterator returns non-string --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator6.phpt b/ext/phar/tests/phar_buildfromiterator6.phpt index 34fe15e467..ae73bbd479 100644 --- a/ext/phar/tests/phar_buildfromiterator6.phpt +++ b/ext/phar/tests/phar_buildfromiterator6.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, key is int --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator7.phpt b/ext/phar/tests/phar_buildfromiterator7.phpt index 83095279dc..38d2e1a5f2 100644 --- a/ext/phar/tests/phar_buildfromiterator7.phpt +++ b/ext/phar/tests/phar_buildfromiterator7.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, file can't be opened --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator8.phpt b/ext/phar/tests/phar_buildfromiterator8.phpt index aa22c11803..6aee21507a 100644 --- a/ext/phar/tests/phar_buildfromiterator8.phpt +++ b/ext/phar/tests/phar_buildfromiterator8.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, SplFileInfo as current --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_buildfromiterator9.phpt b/ext/phar/tests/phar_buildfromiterator9.phpt index 8903066bc3..0b56307545 100644 --- a/ext/phar/tests/phar_buildfromiterator9.phpt +++ b/ext/phar/tests/phar_buildfromiterator9.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::buildFromIterator() iterator, 1 file resource passed in --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_commitwrite.phpt b/ext/phar/tests/phar_commitwrite.phpt index 16f35701bd..8a68e8e5c6 100644 --- a/ext/phar/tests/phar_commitwrite.phpt +++ b/ext/phar/tests/phar_commitwrite.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setStub()/stopBuffering() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_copy.phpt b/ext/phar/tests/phar_copy.phpt index 8fe3471179..b3a7f9784d 100644 --- a/ext/phar/tests/phar_copy.phpt +++ b/ext/phar/tests/phar_copy.phpt @@ -1,9 +1,9 @@ --TEST-- Phar: copy() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/phar_create_in_cwd.phpt b/ext/phar/tests/phar_create_in_cwd.phpt index 8f4734041d..6308254810 100644 --- a/ext/phar/tests/phar_create_in_cwd.phpt +++ b/ext/phar/tests/phar_create_in_cwd.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: attempt to create a Phar with relative path --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_ctx_001.phpt b/ext/phar/tests/phar_ctx_001.phpt index 11a1ba2520..5296dc58b4 100644 --- a/ext/phar/tests/phar_ctx_001.phpt +++ b/ext/phar/tests/phar_ctx_001.phpt @@ -1,8 +1,8 @@ --TEST-- Phar context --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_dir_iterate.phpt b/ext/phar/tests/phar_dir_iterate.phpt index 9bc125a054..1ca8639eae 100644 --- a/ext/phar/tests/phar_dir_iterate.phpt +++ b/ext/phar/tests/phar_dir_iterate.phpt @@ -2,7 +2,7 @@ Phar object: iterate test with sub-directories and RecursiveIteratorIterator --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_get_supportedcomp1.phpt b/ext/phar/tests/phar_get_supportedcomp1.phpt index e80e038ba7..d32e12c0ab 100644 --- a/ext/phar/tests/phar_get_supportedcomp1.phpt +++ b/ext/phar/tests/phar_get_supportedcomp1.phpt @@ -1,10 +1,10 @@ --TEST-- Phar::getSupportedCompression() (bz2 and zlib) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not available"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not available"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_get_supportedcomp2.phpt b/ext/phar/tests/phar_get_supportedcomp2.phpt index 24280e69d3..78a823b437 100644 --- a/ext/phar/tests/phar_get_supportedcomp2.phpt +++ b/ext/phar/tests/phar_get_supportedcomp2.phpt @@ -1,10 +1,10 @@ --TEST-- Phar::getSupportedCompression() (bz2) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not available"; ?> -<?php if (extension_loaded("zlib")) print "skip zlib is available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not available"); ?> +<?php if (extension_loaded("zlib")) die("skip zlib is available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_get_supportedcomp3.phpt b/ext/phar/tests/phar_get_supportedcomp3.phpt index 75911abd28..be84a23310 100644 --- a/ext/phar/tests/phar_get_supportedcomp3.phpt +++ b/ext/phar/tests/phar_get_supportedcomp3.phpt @@ -1,10 +1,10 @@ --TEST-- Phar::getSupportedCompression() (zlib) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> -<?php if (extension_loaded("bz2")) print "skip bz2 is available"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +<?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_get_supportedcomp4.phpt b/ext/phar/tests/phar_get_supportedcomp4.phpt index adaa95de85..fba2c71bfc 100644 --- a/ext/phar/tests/phar_get_supportedcomp4.phpt +++ b/ext/phar/tests/phar_get_supportedcomp4.phpt @@ -1,10 +1,10 @@ --TEST-- Phar::getSupportedCompression() (none) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> -<?php if (extension_loaded("bz2")) print "skip bz2 is available"; ?> -<?php if (extension_loaded("zlib")) print "skip zlib is available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> +<?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?> +<?php if (extension_loaded("zlib")) die("skip zlib is available"); ?> --FILE-- <?php var_dump(Phar::getSupportedCompression()); @@ -13,4 +13,4 @@ var_dump(Phar::getSupportedCompression()); --EXPECT-- array(0) { } -===DONE===
\ No newline at end of file +===DONE=== diff --git a/ext/phar/tests/phar_get_suppoted_signatures_001.phpt b/ext/phar/tests/phar_get_suppoted_signatures_001.phpt index 16a0f6df84..2dab72adaa 100755 --- a/ext/phar/tests/phar_get_suppoted_signatures_001.phpt +++ b/ext/phar/tests/phar_get_suppoted_signatures_001.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setSupportedSignatures() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if ( extension_loaded("hash")) print "skip extension hash conflicts"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if ( extension_loaded("hash")) die("skip extension hash conflicts"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_get_suppoted_signatures_002.phpt b/ext/phar/tests/phar_get_suppoted_signatures_002.phpt index db5ac138c5..753b3d95c3 100755 --- a/ext/phar/tests/phar_get_suppoted_signatures_002.phpt +++ b/ext/phar/tests/phar_get_suppoted_signatures_002.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setSupportedSignatures() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("hash")) print "skip extension hash required"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("hash")) die("skip extension hash required"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_magic.phpt b/ext/phar/tests/phar_magic.phpt index a774a406c1..341a36046a 100644 --- a/ext/phar/tests/phar_magic.phpt +++ b/ext/phar/tests/phar_magic.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: include/fopen magic --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_metadata_read.phpt b/ext/phar/tests/phar_metadata_read.phpt index cf41b6adf7..30e7dd1426 100644 --- a/ext/phar/tests/phar_metadata_read.phpt +++ b/ext/phar/tests/phar_metadata_read.phpt @@ -1,7 +1,7 @@ --TEST-- Phar with phar-level meta-data (read) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_metadata_write.phpt b/ext/phar/tests/phar_metadata_write.phpt index a49799a2b4..c9c2ea7087 100644 --- a/ext/phar/tests/phar_metadata_write.phpt +++ b/ext/phar/tests/phar_metadata_write.phpt @@ -1,7 +1,7 @@ --TEST-- Phar with phar meta-data (write) --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip";?> +<?php if (!extension_loaded("phar")) die("skip");?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_offset_get_error.phpt b/ext/phar/tests/phar_offset_get_error.phpt index e89b98570a..50e12f0199 100755 --- a/ext/phar/tests/phar_offset_get_error.phpt +++ b/ext/phar/tests/phar_offset_get_error.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: ignore filenames starting with / on offsetSet --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=1 diff --git a/ext/phar/tests/phar_oo_001.phpt b/ext/phar/tests/phar_oo_001.phpt index b2bb8cc0a7..bb0f75820b 100755 --- a/ext/phar/tests/phar_oo_001.phpt +++ b/ext/phar/tests/phar_oo_001.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: basics --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_002.phpt b/ext/phar/tests/phar_oo_002.phpt index 30e668217f..3291884f69 100755 --- a/ext/phar/tests/phar_oo_002.phpt +++ b/ext/phar/tests/phar_oo_002.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: iterator & entries --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_003.phpt b/ext/phar/tests/phar_oo_003.phpt index 67ac3cf99c..bf301b6482 100755 --- a/ext/phar/tests/phar_oo_003.phpt +++ b/ext/phar/tests/phar_oo_003.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: entry & openFile() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_004.phpt b/ext/phar/tests/phar_oo_004.phpt index 55829c744b..b73e35d9a6 100755 --- a/ext/phar/tests/phar_oo_004.phpt +++ b/ext/phar/tests/phar_oo_004.phpt @@ -1,8 +1,8 @@ --TEST-- Phar and DirectoryIteraotr --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_005.phpt b/ext/phar/tests/phar_oo_005.phpt index 126b71a4d9..b69d1997ec 100755 --- a/ext/phar/tests/phar_oo_005.phpt +++ b/ext/phar/tests/phar_oo_005.phpt @@ -1,8 +1,8 @@ --TEST-- Phar and RecursiveDirectoryIterator --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_006.phpt b/ext/phar/tests/phar_oo_006.phpt index 54c1ce0111..488c4f9e5d 100755 --- a/ext/phar/tests/phar_oo_006.phpt +++ b/ext/phar/tests/phar_oo_006.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: array access --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_007.phpt b/ext/phar/tests/phar_oo_007.phpt index 4a3acb5b32..798cf26f24 100755 --- a/ext/phar/tests/phar_oo_007.phpt +++ b/ext/phar/tests/phar_oo_007.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: access through SplFileObject --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_008.phpt b/ext/phar/tests/phar_oo_008.phpt index 19c7635ee6..a45da58058 100755 --- a/ext/phar/tests/phar_oo_008.phpt +++ b/ext/phar/tests/phar_oo_008.phpt @@ -1,8 +1,8 @@ --TEST-- Phar object: iterating via SplFileObject --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_010.phpt b/ext/phar/tests/phar_oo_010.phpt index 1b6c8277a7..775e1cd968 100755 --- a/ext/phar/tests/phar_oo_010.phpt +++ b/ext/phar/tests/phar_oo_010.phpt @@ -2,7 +2,7 @@ Phar object: ArrayAccess and isset --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_011.phpt b/ext/phar/tests/phar_oo_011.phpt index 42f7f85cc8..bf523c713c 100644 --- a/ext/phar/tests/phar_oo_011.phpt +++ b/ext/phar/tests/phar_oo_011.phpt @@ -2,7 +2,7 @@ Phar object: add file --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_011b.phpt b/ext/phar/tests/phar_oo_011b.phpt index 7380aa18da..7a1ced3097 100755 --- a/ext/phar/tests/phar_oo_011b.phpt +++ b/ext/phar/tests/phar_oo_011b.phpt @@ -2,7 +2,7 @@ Phar object: add file --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_012.phpt b/ext/phar/tests/phar_oo_012.phpt index a202cfeaae..04c3b4bbfc 100644 --- a/ext/phar/tests/phar_oo_012.phpt +++ b/ext/phar/tests/phar_oo_012.phpt @@ -2,7 +2,7 @@ Phar object: unset file --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_012_confirm.phpt b/ext/phar/tests/phar_oo_012_confirm.phpt index ebe2451f75..046b15c3b6 100644 --- a/ext/phar/tests/phar_oo_012_confirm.phpt +++ b/ext/phar/tests/phar_oo_012_confirm.phpt @@ -2,7 +2,7 @@ Phar object: unset file (confirm disk file is changed) --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_012b.phpt b/ext/phar/tests/phar_oo_012b.phpt index e0f6ec9129..eabe0aa87b 100755 --- a/ext/phar/tests/phar_oo_012b.phpt +++ b/ext/phar/tests/phar_oo_012b.phpt @@ -2,7 +2,7 @@ Phar object: unset file --SKIPIF-- <?php if (!extension_loaded('phar')) die('skip'); ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.readonly=1 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_compressallbz2.phpt b/ext/phar/tests/phar_oo_compressallbz2.phpt index d1bd3ccc6a..c4350d08bd 100644 --- a/ext/phar/tests/phar_oo_compressallbz2.phpt +++ b/ext/phar/tests/phar_oo_compressallbz2.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::compressAllFilesBZIP2() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_oo_compressallgz.phpt b/ext/phar/tests/phar_oo_compressallgz.phpt index fe962f94c5..ff09b4cd72 100644 --- a/ext/phar/tests/phar_oo_compressallgz.phpt +++ b/ext/phar/tests/phar_oo_compressallgz.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::compressAllFilesGZ() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_oo_compressed_001.phpt b/ext/phar/tests/phar_oo_compressed_001.phpt index 803ce8d7b4..6edaa5ad58 100644 --- a/ext/phar/tests/phar_oo_compressed_001.phpt +++ b/ext/phar/tests/phar_oo_compressed_001.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setCompressedGZ() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_oo_compressed_001b.phpt b/ext/phar/tests/phar_oo_compressed_001b.phpt index e33abb2fa6..aac5b616ed 100755 --- a/ext/phar/tests/phar_oo_compressed_001b.phpt +++ b/ext/phar/tests/phar_oo_compressed_001b.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setCompressedBZip2() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_oo_compressed_002.phpt b/ext/phar/tests/phar_oo_compressed_002.phpt index a227904982..ab079bd964 100755 --- a/ext/phar/tests/phar_oo_compressed_002.phpt +++ b/ext/phar/tests/phar_oo_compressed_002.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: context/compress=GZ --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_compressed_002b.phpt b/ext/phar/tests/phar_oo_compressed_002b.phpt index a0f7008a53..e5d346f1a1 100755 --- a/ext/phar/tests/phar_oo_compressed_002b.phpt +++ b/ext/phar/tests/phar_oo_compressed_002b.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: context/compress=BZip2 --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("bz2")) print "skip bz2 not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("bz2")) die("skip bz2 not present"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/phar_oo_getmodified.phpt b/ext/phar/tests/phar_oo_getmodified.phpt index 90339bce84..1bad7558f1 100644 --- a/ext/phar/tests/phar_oo_getmodified.phpt +++ b/ext/phar/tests/phar_oo_getmodified.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::getModified() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_oo_nosig.phpt b/ext/phar/tests/phar_oo_nosig.phpt index 70498003b7..38f8d5aaf4 100644 --- a/ext/phar/tests/phar_oo_nosig.phpt +++ b/ext/phar/tests/phar_oo_nosig.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::getSignature() no signature --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> --INI-- phar.require_hash=0 --FILE-- diff --git a/ext/phar/tests/phar_oo_uncompressall.phpt b/ext/phar/tests/phar_oo_uncompressall.phpt index f72828be69..c1e969e231 100644 --- a/ext/phar/tests/phar_oo_uncompressall.phpt +++ b/ext/phar/tests/phar_oo_uncompressall.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::uncompressAllFiles() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("zlib")) print "skip zlib not present"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_setalias.phpt b/ext/phar/tests/phar_setalias.phpt index 1132484b47..5a5ac853a0 100644 --- a/ext/phar/tests/phar_setalias.phpt +++ b/ext/phar/tests/phar_setalias.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setAlias() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_setalias2.phpt b/ext/phar/tests/phar_setalias2.phpt index 2a41744fef..631a8e016c 100644 --- a/ext/phar/tests/phar_setalias2.phpt +++ b/ext/phar/tests/phar_setalias2.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setAlias() error --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_setsignaturealgo1.phpt b/ext/phar/tests/phar_setsignaturealgo1.phpt index 7aaae500d9..edc032e7be 100644 --- a/ext/phar/tests/phar_setsignaturealgo1.phpt +++ b/ext/phar/tests/phar_setsignaturealgo1.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setSignatureAlgorithm() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if ( extension_loaded("hash")) print "skip extension hash conflicts"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if ( extension_loaded("hash")) die("skip extension hash conflicts"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_setsignaturealgo2.phpt b/ext/phar/tests/phar_setsignaturealgo2.phpt index 47ec0e4ca3..cc83281b22 100644 --- a/ext/phar/tests/phar_setsignaturealgo2.phpt +++ b/ext/phar/tests/phar_setsignaturealgo2.phpt @@ -1,8 +1,8 @@ --TEST-- Phar::setSupportedSignatures() with hash --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("hash")) print "skip extension hash required"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("hash")) die("skip extension hash required"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_stub.phpt b/ext/phar/tests/phar_stub.phpt index 3cf514b836..2aaa9a1fb5 100644 --- a/ext/phar/tests/phar_stub.phpt +++ b/ext/phar/tests/phar_stub.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setStub() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_stub_error.phpt b/ext/phar/tests/phar_stub_error.phpt index 84dbbc6f3b..a9dddfd0ad 100755 --- a/ext/phar/tests/phar_stub_error.phpt +++ b/ext/phar/tests/phar_stub_error.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setStub()/getStub() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_stub_write.phpt b/ext/phar/tests/phar_stub_write.phpt index 2ea475bcf4..5bc982f1ce 100755 --- a/ext/phar/tests/phar_stub_write.phpt +++ b/ext/phar/tests/phar_stub_write.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setStub()/getStub() --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/phar_stub_write_file.phpt b/ext/phar/tests/phar_stub_write_file.phpt index 87312e5105..994cace74d 100755 --- a/ext/phar/tests/phar_stub_write_file.phpt +++ b/ext/phar/tests/phar_stub_write_file.phpt @@ -1,7 +1,7 @@ --TEST-- Phar::setStub()/getStub() from file --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.require_hash=0 phar.readonly=0 diff --git a/ext/phar/tests/refcount1.phpt b/ext/phar/tests/refcount1.phpt index b2dd958b97..ccd912713b 100644 --- a/ext/phar/tests/refcount1.phpt +++ b/ext/phar/tests/refcount1.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: test that refcounting avoids problems with deleting a file --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> <?php if (version_compare(PHP_VERSION, "5.3", "<")) die("skip requires 5.3 or later"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/refcount1_5_2.phpt b/ext/phar/tests/refcount1_5_2.phpt index 6f58cdb625..b70e25f5ee 100755 --- a/ext/phar/tests/refcount1_5_2.phpt +++ b/ext/phar/tests/refcount1_5_2.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: test that refcounting avoids problems with deleting a file --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if (!extension_loaded("spl")) print "skip SPL not available"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> <?php if (version_compare(PHP_VERSION, "5.2", ">")) die("skip requires 5.2 or earlier"); ?> --INI-- phar.readonly=0 diff --git a/ext/phar/tests/rename.phpt b/ext/phar/tests/rename.phpt index 6d3cc2c137..37ebf5f75b 100644 --- a/ext/phar/tests/rename.phpt +++ b/ext/phar/tests/rename.phpt @@ -1,7 +1,7 @@ --TEST-- Phar: rename test --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> --INI-- phar.readonly=0 phar.require_hash=0 diff --git a/ext/phar/tests/test_signaturealgos.phpt b/ext/phar/tests/test_signaturealgos.phpt index a9aeba28b0..5a0e89f611 100644 --- a/ext/phar/tests/test_signaturealgos.phpt +++ b/ext/phar/tests/test_signaturealgos.phpt @@ -1,8 +1,8 @@ --TEST-- Phar: verify signature parsing works --SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> -<?php if ( extension_loaded("hash")) print "skip extension hash conflicts"; ?> +<?php if (!extension_loaded("phar")) die("skip"); ?> +<?php if ( extension_loaded("hash")) die("skip extension hash conflicts"); ?> --INI-- phar.require_hash=0 phar.readonly=0 |