From: Greg Beaver Date: Tue, 28 Apr 2009 19:28:52 +0000 (+0000) Subject: new test - test passes here, but the pear2coverage.phar.php segfaults in apache 2... X-Git-Tag: php-5.3.0RC2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9d2d08b3c96b6ca41ef73c48a576c1c01ef3c88;p=php new test - test passes here, but the pear2coverage.phar.php segfaults in apache 2.2 sapi --- diff --git a/ext/phar/tests/fatal_error_webphar.phpt b/ext/phar/tests/fatal_error_webphar.phpt new file mode 100644 index 0000000000..80efaa9ed1 --- /dev/null +++ b/ext/phar/tests/fatal_error_webphar.phpt @@ -0,0 +1,18 @@ +--TEST-- +Phar web-based phar with fatal error +--INI-- +default_charset=UTF-8 +--SKIPIF-- + +--ENV-- +SCRIPT_NAME=/fatal_error_webphar.php +REQUEST_URI=/fatal_error_webphar.php/index.php +PATH_INFO=/index.php +--FILE_EXTERNAL-- +files/pear2coverage.phar.php +--EXPECTHEADERS-- +Content-type: text/html; charset=UTF-8 +--EXPECTF-- +string(9) "\Web\View" + +Parse error: syntax error, unexpected T_ECHO, expecting T_FUNCTION in phar://%sfatal_error_webphar.php/Web/View.php on line 380 \ No newline at end of file diff --git a/ext/phar/tests/files/pear2coverage.phar.php b/ext/phar/tests/files/pear2coverage.phar.php new file mode 100644 index 0000000000..621b0d07f8 Binary files /dev/null and b/ext/phar/tests/files/pear2coverage.phar.php differ