Searched refs:newstub (Results 1 – 6 of 6) sorted by relevance
23 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';26 $phar->setStub($newstub);
22 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';25 $phar->setStub($newstub);
25 $newstub = '<?php echo "second stub\n"; _x_HALT_COMPILER(); ?>';28 $phar->setStub($newstub);
965 static const char newstub[] = "<?php // tar-based phar archive stub file\n__HALT_COMPILER();"; in phar_tar_flush() local1114 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()1122 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush()
2553 zend_string *newstub; in phar_flush() local2699 newstub = NULL; in phar_flush()2702 newstub = phar_create_default_stub(NULL, NULL, NULL); in phar_flush()2703 phar->halt_offset = ZSTR_LEN(newstub); in phar_flush()2704 written = php_stream_write(newfile, ZSTR_VAL(newstub), phar->halt_offset); in phar_flush()2712 if (newstub) { in phar_flush()2718 if (newstub) { in phar_flush()2719 zend_string_free(newstub); in phar_flush()2723 if (newstub) { in phar_flush()2724 zend_string_free(newstub); in phar_flush()
1206 static const char newstub[] = "<?php // zip-based phar archive stub file\n__HALT_COMPILER();"; in phar_zip_flush() local1360 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_zip_flush()1368 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()
Completed in 28 milliseconds