/PHP-7.4/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); 48 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 49 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 52 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(); ?>'; 36 $file = '<?php echo "third stub\n"; __HALT_COMPILER(); ?>'; 69 // ensure stub is not overwritten 86 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 87 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 88 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 89 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 90 <?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'; 43 Cannot set stub ".phar/stub.php" directly in phar "%sinvalid_setstubalias.phar.tar", use setStub 45 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; 50 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 52 string(60) "<?php // tar-based phar archive stub file 55 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; 49 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 51 string(60) "<?php // zip-based phar archive stub file 54 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'); 69 Entry .phar/stub.php does not exist 71 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; 55 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 58 string(60) "<?php // tar-based phar archive stub file 62 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; 56 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 59 string(60) "<?php // tar-based phar archive stub file 63 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; 106 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 112 string(60) "<?php // tar-based phar archive stub file 119 string(60) "<?php // zip-based phar archive stub file 132 string(60) "<?php // zip-based phar archive stub file 139 string(60) "<?php // tar-based phar archive stub file 146 string(60) "<?php // zip-based phar archive stub file
|
H A D | phar_unlinkarchive.phpt | 36 $stub = '<?php echo "first stub\n"; __HALT_COMPILER(); ?>'; 37 $file = $stub; 95 string(48) "<?php echo "first stub\n"; __HALT_COMPILER(); ?>" 98 string(60) "<?php // zip-based phar archive stub file 101 string(60) "<?php // zip-based phar archive stub file
|
H A D | phar_dotted_path.phpt | 16 $stub = Phar::createDefaultStub(); 17 $file = $stub;
|
/PHP-7.4/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); 45 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 48 Exception: illegal stub for tar-based phar "%sphar_stub_error.phar.tar" 49 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 52 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(); ?>'; 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 72 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 74 <?php echo "third stub\n"; __HALT_COMPILER(); ?>
|
H A D | phar_setdefaultstub.phpt | 66 string(60) "<?php // tar-based phar archive stub file 71 Warning: Phar::setDefaultStub(): method accepts no arguments for a tar- or zip-based phar stub, 1 g… 72 string(60) "<?php // tar-based phar archive stub file 77 Warning: Phar::setDefaultStub(): method accepts no arguments for a tar- or zip-based phar stub, 2 g… 78 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() 23 $tar->addFile('.phar/stub.php', '<?php
|
/PHP-7.4/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-7.4/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); 45 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 48 Exception: illegal stub for zip-based phar "%sphar_stub_error.phar.zip" 49 string(50) "<?php echo "first stub\n"; __HALT_COMPILER(); ?> 52 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(); ?>'; 69 <?php echo "first stub\n"; __HALT_COMPILER(); ?> 70 <?php echo "second stub\n"; __HALT_COMPILER(); ?> 71 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 72 <?php echo "third stub\n"; __HALT_COMPILER(); ?>booya 73 <?php echo "third stub\n"; __HALT_COMPILER(); ?> 74 <?php echo "third stub\n"; __HALT_COMPILER(); ?>
|
H A D | phar_setdefaultstub.phpt | 66 string(60) "<?php // zip-based phar archive stub file 71 Warning: Phar::setDefaultStub(): method accepts no arguments for a tar- or zip-based phar stub, 1 g… 72 string(60) "<?php // zip-based phar archive stub file 77 Warning: Phar::setDefaultStub(): method accepts no arguments for a tar- or zip-based phar stub, 2 g… 78 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-7.4/ext/opcache/tests/ |
H A D | issue0115.phpt | 15 $stub = '<?php 25 $p->setStub($stub); 33 $p->setStub($stub);
|
/PHP-7.4/Zend/tests/ |
H A D | bug72101.phpt | 28 public $stub = null; 30 return $this->stub->invoke($invocation); 73 $OuterMatcher->stub = new PHPUnit_Framework_MockObject_Stub_ReturnCallback([$foo, 'callback']);
|