/PHP-7.2/ext/phar/tests/zip/ |
H A D | open_for_write_newfile_b.phpt | 4 <?php 11 <?php 17 $phar->setStub('<?php __HALT_COMPILER(); ?>'); 21 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 38 $fp = fopen($alias . '/b/new.php', 'wb'); 42 include $alias . '/b/c.php'; 43 include $alias . '/b/new.php'; 48 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?> [all …]
|
H A D | phar_begin_setstub_commit.phpt | 4 <?php 10 <?php 17 $p['a.php'] = '<?php var_dump("Hello");'; 19 include 'phar://brandnewphar.phar/a.php'; 21 $p['b.php'] = '<?php var_dump("World");'; 23 include 'phar://brandnewphar.phar/b.php'; 28 include 'phar://brandnewphar.phar/a.php'; 29 include 'phar://brandnewphar.phar/b.php'; 34 $a = fopen(dirname(__FILE__) . '/myfakestub.php', 'rb'); 46 <?php [all …]
|
H A D | open_for_write_newfile.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 15 $phar->setStub('<?php __HALT_COMPILER(); ?>'); 19 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 28 $fp = fopen($alias . '/b/new.php', 'wb'); 32 include $alias . '/b/c.php'; 33 include $alias . '/b/new.php'; [all …]
|
H A D | dir.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip.php'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.1.phar.php'; 14 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 33 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip.php'); ?> 34 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php'); ?> 35 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
|
H A D | open_for_write_existing_c.phpt | 4 <?php 11 <?php 13 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 17 $phar->setStub('<?php __HALT_COMPILER(); ?>'); 21 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 32 $fp = fopen($alias . '/b/c.php', 'wb'); 35 include $alias . '/b/c.php'; 39 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?> [all …]
|
H A D | open_for_write_existing.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip'; 15 $phar->setStub('<?php __HALT_COMPILER(); ?>'); 19 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 28 $fp = fopen($alias . '/b/c.php', 'wb'); 31 include $alias . '/b/c.php'; 36 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.zip'); ?>
|
/PHP-7.2/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller19.phar | 1 <?php 11 �start/index.php9!�H9HٗN�start/another.php>!�H>| 12 ��another.php!�Hb����<?php 13 echo "start/index.php\n"; 14 include "./another.php"; 15 <?php 16 echo "start/another.php\n"; 17 include "../another.php"; 18 ?><?php 19 echo "another.php\n";
|
H A D | nophar.phar.inc | 1 <?php 5 $p['index.php'] = '<?php include "b/c.php";' . "\n"; 6 $p['web.php'] = '<?php echo "web\n";'; 7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a… 9 $p->setStub($p->createDefaultStub('index.php', 'web.php'));
|
/PHP-7.2/ext/phar/tests/files/ |
H A D | frontcontroller19.phar | 1 <?php 11 �start/index.php9!�H9HٗN�start/another.php>!�H>| 12 ��another.php!�Hb����<?php 13 echo "start/index.php\n"; 14 include "./another.php"; 15 <?php 16 echo "start/another.php\n"; 17 include "../another.php"; 18 ?><?php 19 echo "another.php\n";
|
H A D | nophar.phar.inc | 1 <?php 5 $p['index.php'] = '<?php include "b/c.php";' . "\n"; 6 $p['web.php'] = '<?php echo "web\n";'; 7 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a… 9 $p->setStub($p->createDefaultStub('index.php', 'web.php'));
|
/PHP-7.2/ext/phar/tests/ |
H A D | phar_running.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 8 <?php 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 13 $phar['index.php'] = '<?php 18 include $pname . '/index.php'; 23 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 25 …xpects parameter 1 to be boolean, array given in phar://%sphar_running.phar.php/index.php on line 2 26 string(%d) "phar://%sphar_running.phar.php" 27 string(%d) "%sphar_running.phar.php"
|
H A D | 024-opcache-win32.phpt | 7 <?php 23 <?php 25 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 27 $file = "<?php __HALT_COMPILER(); ?>"; 30 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 31 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 32 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 36 include $pname . '/a.php'; 37 include $pname . '/b.php'; 38 include $pname . '/b/c.php'; [all …]
|
H A D | 027.phpt | 4 <?php 10 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 16 $files['a.php'] = '<?php echo "This is a\n"; require \''.$pname.'/b.php\'; ?>'; 17 $files['b.php'] = '<?php echo "This is b\n"; require \''.$pname.'/b/c.php\'; ?>'; 18 $files['b/c.php'] = '<?php echo "This is b/c\n"; require \''.$pname.'/b/d.php\'; ?>'; 19 $files['b/d.php'] = '<?php echo "This is b/d\n"; require \''.$pname.'/e.php\'; ?>'; 20 $files['e.php'] = '<?php echo "This is e\n"; ?>'; 61 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 64 string(6) "/a.php" [all …]
|
H A D | phar_magic.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 12 $p['a'] = '<?php include "b/c.php";' . "\n"; 13 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 15 $p->setStub('<?php 23 <?php 24 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); 29 <?php include "b/c.php";
|
H A D | fopen_edgecases.phpt | 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 11 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 12 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.3.phar.php'; 63 file_put_contents($pname . '/test.php', '<?php 64 $a = fopen("./notfound.php", "r"); 66 include $pname . '/test.php'; 71 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 72 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?> 75 …/%sfopen_edgecases.phar.php/b/c.php): failed to open stream: phar error: open mode append not supp… [all …]
|
H A D | phar_mount.phpt | 8 <?php 9 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; 14 $a['index.php'] = '<?php 27 $a->setStub('<?php 29 include "index.php"; 35 $b->setStub('<?php 37 include "index.php"; 54 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> 55 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?> 57 Mounting of testit to %sphar_mount.php within phar %sphar_mount.phar.php failed [all …]
|
/PHP-7.2/ext/phar/tests/tar/ |
H A D | dir.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar.php'; 12 $fname2 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.1.phar.php'; 14 $fname3 = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.2.phar.php'; 20 var_dump(isset($phar['.phar/stub.php'])); 34 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.php'); ?> 35 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php'); ?> 36 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.2.phar.php'); ?>
|
H A D | open_for_write_newfile.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 15 $phar->setStub("<?php __HALT_COMPILER(); ?>"); 19 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 29 $fp = fopen($alias . '/b/new.php', 'wb'); 33 include $alias . '/b/c.php'; 34 include $alias . '/b/new.php'; [all …]
|
H A D | open_for_write_existing_c.phpt | 4 <?php 11 <?php 13 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 17 $phar->setStub("<?php __HALT_COMPILER(); ?>"); 21 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 22 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 23 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 32 $fp = fopen($alias . '/b/c.php', 'wb'); 36 include $alias . '/b/c.php'; 42 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?> [all …]
|
H A D | open_for_write_existing.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 11 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar'; 15 $phar->setStub("<?php __HALT_COMPILER(); ?>"); 19 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 29 $fp = fopen($alias . '/b/c.php', 'wb'); 33 include $alias . '/b/c.php'; 39 <?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar'); ?>
|
H A D | phar_magic.phpt | 4 <?php if (!extension_loaded("phar")) die("skip"); ?> 9 <?php 10 $fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar.php'; 13 $p['a'] = '<?php include "b/c.php";' . "\n"; 14 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 16 $p->setStub('<?php 24 <?php 25 unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.php'); 31 <?php include "b/c.php";
|
/PHP-7.2/Zend/tests/ |
H A D | debug_backtrace_options.phpt | 4 <?php 76 [file] => %sdebug_backtrace_options.php 87 [file] => %sdebug_backtrace_options.php 101 [file] => %sdebug_backtrace_options.php 120 [file] => %sdebug_backtrace_options.php 139 [file] => %sdebug_backtrace_options.php 151 [file] => %sdebug_backtrace_options.php 165 [file] => %sdebug_backtrace_options.php 184 [file] => %sdebug_backtrace_options.php 203 [file] => %sdebug_backtrace_options.php [all …]
|
/PHP-7.2/ext/xml/tests/ |
H A D | bug72085.phpt | 4 <?php 8 <?php 15 Warning: Invalid callback Exception in %s%ebug72085.php:%d 21 Warning: Invalid callback Exception in %s%ebug72085.php:%d 27 Warning: Invalid callback Exception in %s%ebug72085.php:%d 33 Warning: Invalid callback Exception in %s%ebug72085.php:%d 39 Warning: Invalid callback Exception in %s%ebug72085.php:%d 45 Warning: Invalid callback Exception in %s%ebug72085.php:%d 51 Warning: Invalid callback Exception in %s%ebug72085.php:%d 57 Warning: Invalid callback Exception in %s%ebug72085.php:%d [all …]
|
/PHP-7.2/sapi/cli/tests/ |
H A D | argv_mb_bug77111.phpt | 2 Bug #77111 php-win.exe corrupts unicode symbols from cli parameters 4 <?php 11 $php = dirname(getenv('TEST_PHP_EXECUTABLE')) . DIRECTORY_SEPARATOR . "php-win.exe"; 12 if (!file_exists($php)) { 13 die("skip php-win.exe doesn't exist"); 18 <?php 20 $php = dirname(getenv('TEST_PHP_EXECUTABLE')) . DIRECTORY_SEPARATOR . "php-win.exe"; 24 $argv_fl = dirname(__FILE__) . DIRECTORY_SEPARATOR . "argv_test.php"; 27 `$php -n $argv_fl Ästhetik Æstetik Esthétique Estética Эстетика`; 33 <?php [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | tempnam_variation4-0.phpt | 4 <?php 19 <?php 63 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 66 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 69 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 72 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 75 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 78 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 81 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… 84 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation4-0.php o… [all …]
|