Searched refs:newstub (Results 1 – 7 of 7) 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);
962 static const char newstub[] = "<?php // tar-based phar archive stub file\n__HALT_COMPILER();"; in phar_tar_flush() local1111 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()1119 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush()
2509 zend_string *newstub; local2654 newstub = NULL;2657 newstub = phar_create_default_stub(NULL, NULL, NULL);2658 phar->halt_offset = ZSTR_LEN(newstub);2659 written = php_stream_write(newfile, ZSTR_VAL(newstub), phar->halt_offset);2667 if (newstub) {2673 if (newstub) {2674 zend_string_free(newstub);2678 if (newstub) {2679 zend_string_free(newstub);
1186 static const char newstub[] = "<?php // zip-based phar archive stub file\n__HALT_COMPILER();"; in phar_zip_flush() local1341 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_zip_flush()1349 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()
5232 ZEND_ARG_INFO(0, newstub)
Completed in 48 milliseconds