Home
last modified time | relevance | path

Searched refs:newstub (Results 1 – 7 of 7) sorted by relevance

/PHP-5.5/ext/phar/tests/tar/
H A Dphar_stub_error.phpt23 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';
26 $phar->setStub($newstub);
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_stub_error.phpt22 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';
25 $phar->setStub($newstub);
/PHP-5.5/ext/phar/tests/
H A Dphar_stub_error.phpt25 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';
28 $phar->setStub($newstub);
/PHP-5.5/ext/phar/
H A Dtar.c946 static const char newstub[] = "<?php // tar-based phar archive stub file\n__HALT_COMPILER();"; in phar_tar_flush() local
1078 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()
1086 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush()
H A Dzip.c1161 static const char newstub[] = "<?php // zip-based phar archive stub file\n__HALT_COMPILER();"; in phar_zip_flush() local
1315 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_zip_flush()
1323 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()
H A Dphar.c2573 char *newstub, *tmp; local
2713 newstub = NULL;
2716 newstub = phar_create_default_stub(NULL, NULL, &(phar->halt_offset), NULL TSRMLS_CC);
2717 written = php_stream_write(newfile, newstub, phar->halt_offset);
2725 if (newstub) {
2731 if (newstub) {
2732 efree(newstub);
2736 if (newstub) {
2737 efree(newstub);
H A Dphar_object.c5252 ZEND_ARG_INFO(0, newstub)

Completed in 44 milliseconds