mirror of
https://github.com/php/php-src.git
synced 2024-11-30 13:25:43 +08:00
- Added SKIPIF
This commit is contained in:
parent
4d169ebcfc
commit
613f2d2afc
@ -2,6 +2,7 @@
|
||||
PharData::convertToZip|Tar|Phar() repeated (phardata_based archives)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--INI--
|
||||
phar.readonly=1
|
||||
--FILE--
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar: test broken app
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--INI--
|
||||
phar.readonly=0
|
||||
--FILE--
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller other zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller1.phar.php
|
||||
REQUEST_URI=/frontcontroller1.phar.php/a.jpg
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type extension is not a string zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller11.phar.php
|
||||
REQUEST_URI=/frontcontroller11.phar.php/a.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type unknown int zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller12.phar.php
|
||||
REQUEST_URI=/frontcontroller12.phar.php/a.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type not string/int zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller13.phar.php
|
||||
REQUEST_URI=/frontcontroller13.phar.php/a.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type override, other zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller14.phar.php
|
||||
REQUEST_URI=/frontcontroller14.phar.php/a.jpg
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type override, Phar::PHPS zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller15.phar.php
|
||||
REQUEST_URI=/frontcontroller15.phar.php/a.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type override, Phar::PHP zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller16.phar.php
|
||||
REQUEST_URI=/frontcontroller16.phar.php/a.phps
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller mime type unknown zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller17.phar.php
|
||||
REQUEST_URI=/frontcontroller17.phar.php/fronk.gronk
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller $_SERVER munging failure zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller18.phar.php
|
||||
REQUEST_URI=/frontcontroller18.phar.php/fronk.gronk
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller $_SERVER munging failure 2 zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller19.phar.php
|
||||
REQUEST_URI=/frontcontroller19.phar.php/
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller PHP test zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller2.phar.php
|
||||
REQUEST_URI=/frontcontroller2.phar.php/a.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller $_SERVER munging failure 3 zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller20.phar.php
|
||||
REQUEST_URI=/frontcontroller20.phar.php/
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller $_SERVER munging success zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller21.phar.php
|
||||
REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller phps zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller3.phar.php
|
||||
REQUEST_URI=/frontcontroller3.phar.php/a.phps
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller index.php relocate (no /) zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller4.phar.php
|
||||
REQUEST_URI=/frontcontroller4.phar.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller index.php relocate zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller5.phar.php
|
||||
REQUEST_URI=/frontcontroller5.phar.php/
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller 404 zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller6.phar.php
|
||||
REQUEST_URI=/frontcontroller6.phar.php/notfound.php
|
||||
|
@ -2,6 +2,7 @@
|
||||
Phar front controller alternate index file zip-based
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("phar")) die("skip"); ?>
|
||||
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
|
||||
--ENV--
|
||||
SCRIPT_NAME=/frontcontroller7.phar.php
|
||||
REQUEST_URI=/frontcontroller7.phar.php/
|
||||
|
@ -3,6 +3,7 @@ Phar: test a zip archive created by openoffice
|
||||
--SKIPIF--
|
||||
<?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"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$a = new PharData(dirname(__FILE__) . '/files/odt.odt');
|
||||
|
Loading…
Reference in New Issue
Block a user