/php-src/ext/phar/tests/ |
H A D | phar_stub_write_file.phpt | 13 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 14 $file = $stub; 24 var_dump($stub); 26 var_dump($phar->getStub() == $stub); 28 $stub = '<?php echo "second stub\n"; __HALT_COMPILER(); ?>'; 29 $sexp = $stub . "\r\n"; 30 $stub = fopen('data://,'.$stub, 'r'); 31 $phar->setStub($stub); 33 var_dump($phar->getStub() == $stub); 37 var_dump($phar->getStub() == $stub); [all …]
|
H A D | phar_stub_write.phpt | 12 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 13 $file = $stub; 23 var_dump($stub); 25 var_dump($phar->getStub() == $stub); 27 $stub = '<?php echo "second stub\n"; __HALT_COMPILER(); ?>'; 28 $sexp = $stub . "\r\n"; 30 $phar->setStub($stub); 32 var_dump($phar->getStub() == $stub); 36 var_dump($phar->getStub() == $stub); 40 var_dump($phar->getStub() == $stub); [all …]
|
H A D | phar_stub_error.phpt | 12 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 13 $file = $stub; 21 var_dump($stub); 23 var_dump($phar->getStub() == $stub); 25 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>'; 35 var_dump($phar->getStub() == $stub); 38 var_dump($phar->getStub() == $stub); 47 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 48 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 51 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" [all …]
|
H A D | phar_stub.phpt | 12 $file = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 21 $file = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 27 $file = '<?php echo "second stub\n"; __HALT_COMPILER(); ?>'; 87 // ensure stub is not overwritten 103 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 104 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 107 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 108 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 110 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 113 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
H A D | invalid_setstubalias.phpt | 2 Phar: invalid set alias or stub via array access 14 $p['.phar/stub.php'] = 'hi'; 25 $p['.phar/stub.php'] = 'hi'; 37 Cannot set stub ".phar/stub.php" directly in phar "%sinvalid_setstubalias.phar.tar", use setStub 39 Cannot set stub ".phar/stub.php" directly in phar "%sinvalid_setstubalias.phar.zip", use setStub
|
H A D | phar_convert_tar.phpt | 15 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 16 $file = $stub; 49 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 51 string(60) "<?php // tar-based phar archive stub file 54 string(60) "<?php // tar-based phar archive stub file
|
H A D | phar_convert_zip.phpt | 15 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 16 $file = $stub; 48 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 50 string(60) "<?php // zip-based phar archive stub file 53 string(60) "<?php // zip-based phar archive stub file
|
H A D | phar_offset_check.phpt | 2 Phar: disallow stub and alias setting via offset*() methods 21 $phar->offsetGet('.phar/stub.php'); 33 $phar->offsetSet('.phar/stub.php', '<?php __HALT_COMPILER(); ?>'); 41 $phar->offsetUnset('.phar/stub.php'); 68 Entry .phar/stub.php does not exist 70 Cannot set stub ".phar/stub.php" directly in phar "%sphar_offset_check.phar.php", use setStub
|
H A D | phar_convert_tar2.phpt | 16 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 17 $file = $stub; 53 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 56 string(60) "<?php // tar-based phar archive stub file 60 string(60) "<?php // tar-based phar archive stub file
|
H A D | phar_convert_tar3.phpt | 16 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 17 $file = $stub; 53 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 56 string(60) "<?php // tar-based phar archive stub file 60 string(60) "<?php // tar-based phar archive stub file
|
H A D | phar_convert_repeated.phpt | 15 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 16 $file = $stub; 103 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 109 string(60) "<?php // tar-based phar archive stub file 116 string(60) "<?php // zip-based phar archive stub file 129 string(60) "<?php // zip-based phar archive stub file 136 string(60) "<?php // tar-based phar archive stub file 143 string(60) "<?php // zip-based phar archive stub file
|
H A D | phar_unlinkarchive.phpt | 40 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 41 $file = $stub; 97 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 100 string(60) "<?php // zip-based phar archive stub file 103 string(60) "<?php // zip-based phar archive stub file
|
H A D | phar_dotted_path.phpt | 16 $stub = Phar::createDefaultStub(); 17 $file = $stub;
|
H A D | phar_copy.phpt | 60 $p2->copy('d', '.phar/stub.php'); 65 $p2->copy('.phar/stub.php', 'd'); 80 file "d" cannot be copied to file ".phar/stub.php", cannot copy to Phar meta-file in %sphar_copy2.p… 81 file ".phar/stub.php" cannot be copied to file "d", cannot copy Phar meta-file in %sphar_copy2.phar…
|
/php-src/ext/phar/tests/tar/ |
H A D | phar_stub_error.phpt | 14 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>' ."\r\n"; 15 $phar->setStub($stub); 21 var_dump($phar->getStub() == $stub); 23 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>'; 32 var_dump($phar->getStub() == $stub); 35 var_dump($phar->getStub() == $stub); 44 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 47 Exception: illegal stub for tar-based phar "%sphar_stub_error.phar.tar" 48 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 51 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>
|
H A D | phar_stub.phpt | 16 $p->setStub('<?php echo "first stub\n"; __HALT_COMPILER(); ?>'); 25 $file = '<?php echo "second stub\n"; __HALT_COMPILER(); ?>'; 32 $file = '<?php echo "third stub\n"; __HALT_COMPILER(); ?>'; 68 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 69 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 Deprecated: Calling Phar::setStub(resource $stub, int $length) is deprecated in %s on line %d 72 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 75 Deprecated: Calling Phar::setStub(resource $stub, int $length) is deprecated in %s on line %d 76 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
H A D | phar_setdefaultstub.phpt | 75 string(60) "<?php // tar-based phar archive stub file 79 Phar::setDefaultStub(): Argument #1 ($index) must be null for a tar- or zip-based phar stub, string… 80 string(60) "<?php // tar-based phar archive stub file 84 Phar::setDefaultStub(): Argument #1 ($index) must be null for a tar- or zip-based phar stub, string… 85 string(60) "<?php // tar-based phar archive stub file
|
H A D | delete.phpt | 13 $stub = "<?php 19 $phar->setStub($stub);
|
H A D | tar_004.phpt | 2 Phar: tar-based phar, tar phar with stub, mapPhar() 22 $tar->addFile('.phar/stub.php', '<?php
|
/php-src/ext/phar/ |
H A D | makestub.php | 33 $stub = '/* variable 77 $stub .= "\tstatic const char newstub0[] = \"" . $webs . '"; 81 $stub .= "\tstatic const char newstub1_" . $i . '[] = "' . $chunk . '"; 84 $stub .= "\tstatic const char newstub2[] = \"" . $s2 . "\"; 91 $stub .= "\n\tstatic const int newstub_len = " . $slen . "; 96 $stub .= ', newstub1_' . $i; 98 $stub .= ', index_php, newstub2'; 99 $stub .= ", name_len + web_len + newstub_len"; 101 $stub .= ', newstub3_' . $i; 103 $stub .= "); [all …]
|
/php-src/ext/phar/tests/zip/ |
H A D | phar_stub_error.phpt | 14 $phar->setStub($stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>' . "\r\n"); 20 var_dump($phar->getStub() == $stub); 22 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>'; 32 var_dump($phar->getStub() == $stub); 35 var_dump($phar->getStub() == $stub); 44 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 47 Exception: illegal stub for zip-based phar "%sphar_stub_error.phar.zip" 48 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 51 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>
|
H A D | phar_stub.phpt | 16 $p->setStub('<?php echo "first stub\n"; __HALT_COMPILER(); ?>'); 25 $file = '<?php echo "second stub\n"; __HALT_COMPILER(); ?>'; 32 $file = '<?php echo "third stub\n"; __HALT_COMPILER(); ?>'; 68 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 69 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 Deprecated: Calling Phar::setStub(resource $stub, int $length) is deprecated in %s on line %d 72 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 75 Deprecated: Calling Phar::setStub(resource $stub, int $length) is deprecated in %s on line %d 76 <?php echo "third stub\n"; __HALT_COMPILER(); ?> [all …]
|
H A D | phar_setdefaultstub.phpt | 75 string(60) "<?php // zip-based phar archive stub file 79 Phar::setDefaultStub(): Argument #1 ($index) must be null for a tar- or zip-based phar stub, string… 80 string(60) "<?php // zip-based phar archive stub file 84 Phar::setDefaultStub(): Argument #1 ($index) must be null for a tar- or zip-based phar stub, string… 85 string(60) "<?php // zip-based phar archive stub file
|
H A D | notphar.phpt | 2 Phar: a non-executable zip with no stub named .phar.zip 24 Warning: include(phar://%snotphar.phar.zip/.phar/stub.php): Failed to open stream: '%snotphar.phar.…
|
/php-src/ext/opcache/tests/ |
H A D | issue0115.phpt | 14 $stub = '<?php 24 $p->setStub($stub); 32 $p->setStub($stub);
|