mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
37c684ab3d
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+, allow "include 'phar:///path/to/my.phar';" to work as equivalent to php /path/to/my.phar this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to check and modify path in zend_compile, which allows us to play much nicer with external tools like debuggers/opcode caches
12 lines
425 B
Bash
Executable File
12 lines
425 B
Bash
Executable File
#!/bin/sh
|
|
export SCRIPT_NAME=/front.phar.php
|
|
export PATH_INFO=/index.php
|
|
export SCRIPT_FILENAME=/home/cellog/workspace/php5/ext/phar/tests/front.phar.php
|
|
export PATH_TRANSLATED=/home/cellog/workspace/php5/ext/phar/tests/front.phar.php
|
|
export REDIRECT_STATUS=1
|
|
export REQUEST_METHOD=GET
|
|
export REQUEST_URI=/front.phar.php/index.php
|
|
cd /home/cellog/workspace/php5
|
|
ddd sapi/cgi/php-cgi &
|
|
cd /home/cellog/workspace/php5/ext/phar
|