/PHP-7.0/ext/phar/tests/ |
H A D | 010.phpt | 4 <?php if (!extension_loaded("phar")) die("skip");?> 8 <?php 9 $file = b"<?php 18 file_put_contents(dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php', $file); 20 include dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 27 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
H A D | phar_unlinkarchive.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 36 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 68 $phar['evil.php'] = '<?php 73 include Phar::running(true) . "/another.php"; 75 $phar['another.php'] = "hi\n"; 77 include $pname . '/evil.php'; 81 <?php 95 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 98 string(60) "<?php // zip-based phar archive stub file [all …]
|
H A D | rmdir.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 12 $file = b"<?php 28 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 32 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line 14
|
H A D | phar_oo_getcontents.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 30 <?php 31 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 37 Phar error: Cannot retrieve contents, "a" in phar "%sphar_oo_getcontents.phar.php" is a directory 38 Phar error: Cannot retrieve contents, "hi" in phar "%sphar_oo_getcontents.phar.php" is a directory
|
H A D | cached_manifest_1.phpt | 4 <?php 11 <?php 13 var_dump(file_get_contents($pname . '/b/c.php')); 23 var_dump(is_dir($pname . '/b/c.php')); 27 string(131) "<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fc… 30 string(9) "index.php" 31 string(7) "web.php" 32 string(%d) "phar://%snophar.phar/b%cc.php" 34 string(%d) "phar://%snophar.phar%cindex.php" 35 string(%d) "phar://%snophar.phar%cweb.php"
|
H A D | cached_manifest_1U.phpt | 4 <?php 11 <?php 13 var_dump(file_get_contents($pname . '/b/c.php')); 23 var_dump(is_dir($pname . '/b/c.php')); 27 string(131) "<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fc… 30 unicode(9) "index.php" 31 unicode(7) "web.php" 32 string(%d) "phar://%snophar.phar/b%cc.php" 34 string(%d) "phar://%snophar.phar%cindex.php" 35 string(%d) "phar://%snophar.phar%cweb.php"
|
H A D | mkdir.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 8 <?php 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 30 <?php 31 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 35 … phar error: cannot create directory "phar://", no phar archive specified in %smkdir.php on line %d 37 …tory "" in phar "foo.phar", phar error: invalid path "" must not be empty in %smkdir.php on line %d 39 …ate directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists and is a not a directory… 41 …tory "phar://", no phar archive specified, or phar archive does not exist in %smkdir.php on line %d 43 …: cannot remove directory "" in phar "foo.phar", directory does not exist in %smkdir.php on line %d [all …]
|
H A D | phar_oo_011.phpt | 4 <?php if (!extension_loaded('phar')) die('skip'); ?> 5 <?php if (!extension_loaded("spl")) die("skip SPL not available"); ?> 10 <?php 19 $phar['hi/f.php'] = 'hi'; 21 var_dump(isset($phar['hi/f.php'])); 22 echo $phar['hi/f.php']; 28 <?php 29 unlink(dirname(__FILE__) . '/files/phar_oo_011.phar.php');
|
H A D | frontcontroller4.phpt | 2 Phar front controller index.php relocate (no /) 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 6 SCRIPT_NAME=/frontcontroller4.php 7 REQUEST_URI=/frontcontroller4.php 12 Location: /frontcontroller4.php/index.php
|
H A D | frontcontroller5.phpt | 2 Phar front controller index.php relocate 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 6 SCRIPT_NAME=/frontcontroller5.php 7 REQUEST_URI=/frontcontroller5.php/ 13 Location: /frontcontroller5.php/index.php
|
H A D | 016b.phpt | 4 <?php if (!extension_loaded("phar")) die("skip");?> 5 <?php if (!extension_loaded("zlib")) die("skip zlib not present"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 12 $file = "<?php __HALT_COMPILER(); ?>"; 22 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?>
|
/PHP-7.0/ext/phar/tests/zip/ |
H A D | frontcontroller4.phar.phpt | 2 Phar front controller index.php relocate (no /) zip-based 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> 7 SCRIPT_NAME=/frontcontroller4.phar.php 8 REQUEST_URI=/frontcontroller4.phar.php 13 Location: /frontcontroller4.phar.php/index.php
|
H A D | frontcontroller5.phar.phpt | 2 Phar front controller index.php relocate zip-based 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?> 7 SCRIPT_NAME=/frontcontroller5.phar.php 8 REQUEST_URI=/frontcontroller5.phar.php/ 14 Location: /frontcontroller5.phar.php/index.php
|
H A D | phar_setalias.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 5 <?php if (!extension_loaded("zlib")) die("skip no zlib"); ?> 6 <?php if (!extension_loaded("bz2")) die("skip no bz2"); ?> 11 <?php 13 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 14 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '2.phar.zip'; 15 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '3.phar.zip'; 18 $phar->setStub('<?php echo "first stub\n"; __HALT_COMPILER(); ?>'); 51 <?php 52 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); [all …]
|
H A D | exists_as_phar.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $tname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 16 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 32 <?php 33 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); 34 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');
|
/PHP-7.0/ext/exif/tests/ |
H A D | bug76557.phpt | 4 <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> 6 <?php 11 …ocess tag(x010F=Make ): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 13 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 15 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 17 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 19 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 21 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 23 …ocess tag(x3030=UndefinedTa): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d 75 Warning: exif_read_data(bug76557.jpg): File structure corrupted in %sbug76557.php on line %d [all …]
|
/PHP-7.0/ext/phar/tests/tar/ |
H A D | frontcontroller13.phar.phpt | 6 <?php if (!extension_loaded("phar")) die("skip"); ?> 8 SCRIPT_NAME=/frontcontroller13.phar.php 9 REQUEST_URI=/frontcontroller13.phar.php/a.php 10 PATH_INFO=/a.php 16 …t), only Phar::PHP, Phar::PHPS and a mime type string are allowed in %sfrontcontroller13.phar.php:2 18 #0 %sfrontcontroller13.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) 20 thrown in %sfrontcontroller13.phar.php on line 2
|
H A D | tar_004U.phpt | 4 <?php 13 <?php 14 include dirname(__FILE__) . '/files/tarmaker.php.inc'; 21 $tar->addFile('tar_004U.php', '<?php var_dump(__FILE__);'); 25 $tar->addFile('.phar/stub.php', '<?php 28 include "phar://" . __FILE__ . "/tar_004U.php"; 36 <?php 41 unicode(%d) "phar://%star_004U.phar.tar/tar_004U.php"
|
H A D | phar_convert_phar.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar'; 13 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.phar'; 40 <?php 41 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar'); 43 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.tar'); 44 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar'); 45 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.3.phar'); [all …]
|
H A D | exists_as_phar.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar'; 12 $tname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 16 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 32 <?php 33 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); 34 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar');
|
H A D | tar_004.phpt | 4 <?php 13 <?php 14 include dirname(__FILE__) . '/files/tarmaker.php.inc'; 21 $tar->addFile('tar_004.php', '<?php var_dump(__FILE__);'); 25 $tar->addFile('.phar/stub.php', '<?php 28 include "phar://" . __FILE__ . "/tar_004.php"; 36 <?php 41 string(%d) "phar://%star_004.phar.tar/tar_004.php"
|
/PHP-7.0/sapi/fpm/tests/ |
H A D | 019.phpt | 4 <?php include "skipif.inc"; ?> 6 <?php 10 $logfile = 'php-fpm.log.tmp'; 11 $accfile = 'php-fpm.acc.tmp'; 12 $slwfile = 'php-fpm.slw.tmp'; 13 $pidfile = 'php-fpm.pid.tmp'; 61 File php-fpm.log.tmp exists 62 File php-fpm.acc.tmp exists 63 File php-fpm.slw.tmp exists 64 File php-fpm.pid.tmp exists [all …]
|
/PHP-7.0/ext/phar/tests/files/ |
H A D | blog.phar | 1 <?php 6 Phar::webPhar("blog", "index.php"); 8 ^ index.php�?2�I�坙��install.php?2�I2���<?p… 9 include "install.php"; 13 ?><?php echo "install\n"; ?>0�])IgF|������a��GBMB
|
/PHP-7.0/sapi/cli/tests/ |
H A D | 021.phpt | 4 <?php 15 <?php 17 $php = getenv('TEST_PHP_EXECUTABLE'); 19 $filename = __DIR__.'/021.tmp.php'; 21 $script = "#!$php -n\n". 23 "<?php echo 1+1,'\n';\n". 35 <?php 36 unlink(__DIR__.'/021.tmp.php');
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | rename_variation13-win32.phpt | 6 <?php 11 <?php 24 "", // I think both p8 and php are wrong on the messages here 25 //p8 generates different messages to php, php is probably wrong 26 //php has either "File Exists" or "Permission Denied". 35 "php/php" 123 …() expects parameter 2 to be a valid path, array given in %srename_variation13-win32.php on line %d 128 …() expects parameter 1 to be a valid path, array given in %srename_variation13-win32.php on line %d 137 -- 9 testing 'php/php' string -- 139 Warning: rename(%safile.tmp,php/php): The system cannot find the path specified. (code: 3) in %sren… [all …]
|