Searched refs:newstub (Results 1 – 7 of 7) sorted by relevance
22 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';25 $phar->setStub($newstub);
23 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';26 $phar->setStub($newstub);
25 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';28 $phar->setStub($newstub);
971 static const char newstub[] = "<?php // tar-based phar archive stub file\n__HALT_COMPILER();"; in phar_tar_flush() local1120 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()1128 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush()
2502 zend_string *newstub; in phar_flush() local2648 newstub = NULL; in phar_flush()2651 newstub = phar_create_default_stub(NULL, NULL, NULL); in phar_flush()2652 phar->halt_offset = ZSTR_LEN(newstub); in phar_flush()2653 written = php_stream_write(newfile, ZSTR_VAL(newstub), phar->halt_offset); in phar_flush()2661 if (newstub) { in phar_flush()2667 if (newstub) { in phar_flush()2668 zend_string_free(newstub); in phar_flush()2672 if (newstub) { in phar_flush()2673 zend_string_free(newstub); in phar_flush()
1225 static const char newstub[] = "<?php // zip-based phar archive stub file\n__HALT_COMPILER();"; in phar_zip_flush() local1380 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_zip_flush()1388 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()
5261 ZEND_ARG_INFO(0, newstub)
Completed in 37 milliseconds