Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 25 of 88) sorted by relevance

1234

/php-src/ext/phar/tests/
H A Dphar_stub_write_file.phpt13 $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 Dphar_stub_write.phpt12 $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 Dphar_stub_error.phpt12 $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 Dphar_stub.phpt12 $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 Dinvalid_setstubalias.phpt2 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 Dphar_convert_tar.phpt15 $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 Dphar_convert_zip.phpt15 $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 Dphar_offset_check.phpt2 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 Dphar_convert_tar2.phpt16 $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 Dphar_convert_tar3.phpt16 $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 Dphar_convert_repeated.phpt15 $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 Dphar_unlinkarchive.phpt40 $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 Dphar_dotted_path.phpt16 $stub = Phar::createDefaultStub();
17 $file = $stub;
H A Dphar_copy.phpt60 $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 Dphar_stub_error.phpt14 $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 Dphar_stub.phpt16 $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 Dphar_setdefaultstub.phpt75 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 Ddelete.phpt13 $stub = "<?php
19 $phar->setStub($stub);
H A Dtar_004.phpt2 Phar: tar-based phar, tar phar with stub, mapPhar()
22 $tar->addFile('.phar/stub.php', '<?php
/php-src/ext/phar/
H A Dmakestub.php33 $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 Dphar_stub_error.phpt14 $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 Dphar_stub.phpt16 $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 Dphar_setdefaultstub.phpt75 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 Dnotphar.phpt2 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 Dissue0115.phpt14 $stub = '<?php
24 $p->setStub($stub);
32 $p->setStub($stub);

Completed in 34 milliseconds

1234