cvs: pecl /phar phar_object.c /phar/tests frontcontroller11.phpt frontcontroller12.phpt frontcontroller13.phpt frontcontroller18.phpt
frontcontroller19.phpt frontcontroller20.phpt /phar/tests/tar frontcontroller11.phar.phpt frontcontroller12.phar.phpt frontcontroller13.phar.phpt
frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt /phar/tests/zip frontcontroller11.phar.phpt
frontcontroller12.phar.phpt frontcontroller13.phar.phpt frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt

From: Date: Sat, 12 Apr 2008 21:43:39 +0000
Subject: cvs: pecl /phar phar_object.c /phar/tests frontcontroller11.phpt frontcontroller12.phpt frontcontroller13.phpt frontcontroller18.phpt
frontcontroller19.phpt frontcontroller20.phpt /phar/tests/tar frontcontroller11.phar.phpt frontcontroller12.phar.phpt frontcontroller13.phar.phpt
frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt /phar/tests/zip frontcontroller11.phar.phpt
frontcontroller12.phar.phpt frontcontroller13.phar.phpt frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-10357@lists.php.net to get a copy of this message
cellog Sat Apr 12 21:43:39 2008 UTC Modified files: /pecl/phar phar_object.c /pecl/phar/tests frontcontroller11.phpt frontcontroller12.phpt frontcontroller13.phpt frontcontroller18.phpt frontcontroller19.phpt frontcontroller20.phpt /pecl/phar/tests/tar frontcontroller11.phar.phpt frontcontroller12.phar.phpt frontcontroller13.phar.phpt frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt /pecl/phar/tests/zip frontcontroller11.phar.phpt frontcontroller12.phar.phpt frontcontroller13.phar.phpt frontcontroller18.phar.phpt frontcontroller19.phar.phpt frontcontroller20.phar.phpt Log: fix build if SPL is disabled

http://cvs.php.net/viewvc.cgi/pecl/phar/phar_object.c?r1=1.205&r2=1.206&diff_format=u Index: pecl/phar/phar_object.c diff -u pecl/phar/phar_object.c:1.205 pecl/phar/phar_object.c:1.206 --- pecl/phar/phar_object.c:1.205 Fri Apr 11 13:41:58 2008 +++ pecl/phar/phar_object.c Sat Apr 12 21:43:38 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: phar_object.c,v 1.205 2008/04/11 13:41:58 cellog Exp $ */ +/* $Id: phar_object.c,v 1.206 2008/04/12 21:43:38 cellog Exp $ */ #include "phar_internal.h" #include "func_interceptors.h" @@ -604,7 +604,7 @@ #else if (FAILURE == zend_fcall_info_init(rewrite, 0, &fci, &fcc, NULL, NULL TSRMLS_CC)) { #endif - zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "phar error: invalid rewrite callback"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "phar error: invalid rewrite callback"); if (free_pathinfo) { efree(path_info); } @@ -622,7 +622,7 @@ if (FAILURE == zend_call_function(&fci, &fcc TSRMLS_CC)) { if (!EG(exception)) { - zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "phar error: failed to call rewrite callback"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "phar error: failed to call rewrite callback"); } if (free_pathinfo) { efree(path_info); @@ -633,7 +633,7 @@ if (free_pathinfo) { efree(path_info); } - zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "phar error: rewrite callback must return a string or false"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "phar error: rewrite callback must return a string or false"); return; } switch (Z_TYPE_P(retval_ptr)) { @@ -657,7 +657,7 @@ if (free_pathinfo) { efree(path_info); } - zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "phar error: rewrite callback must return a string or false"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "phar error: rewrite callback must return a string or false"); return; } } @@ -804,7 +804,7 @@ uint keylen; ulong intkey; if (HASH_KEY_IS_LONG == zend_hash_get_current_key_ex(Z_ARRVAL_P(mimeoverride), &key, &keylen, &intkey, 0, NULL)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Key of MIME type overrides array must be a file extension, was \"%d\"", intkey); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Key of MIME type overrides array must be a file extension, was \"%d\"", intkey); phar_entry_delref(phar TSRMLS_CC); #ifdef PHP_WIN32 efree(fname); @@ -812,7 +812,7 @@ RETURN_FALSE; } if (FAILURE == zend_hash_get_current_data(Z_ARRVAL_P(mimeoverride), (void **) &val)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Failed to retrieve Mime type for extension \"%s\"", key); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Failed to retrieve Mime type for extension \"%s\"", key); phar_entry_delref(phar TSRMLS_CC); #ifdef PHP_WIN32 efree(fname); @@ -824,7 +824,7 @@ if (Z_LVAL_PP(val) == PHAR_MIME_PHP || Z_LVAL_PP(val) == PHAR_MIME_PHPS) { PHAR_SET_USER_MIME((char) Z_LVAL_PP(val)) } else { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed"); phar_entry_delref(phar TSRMLS_CC); #ifdef PHP_WIN32 efree(fname); @@ -836,7 +836,7 @@ PHAR_SET_USER_MIME(PHAR_MIME_OTHER) break; default : - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed"); phar_entry_delref(phar TSRMLS_CC); #ifdef PHP_WIN32 efree(fname); @@ -872,11 +872,11 @@ } if (!zend_hash_num_elements(Z_ARRVAL_P(mungvalues))) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); return; } if (zend_hash_num_elements(Z_ARRVAL_P(mungvalues)) > 4) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); return; } @@ -886,16 +886,16 @@ zval **data = NULL; if (SUCCESS != zend_hash_get_current_data(Z_ARRVAL_P(mungvalues), (void **) &data)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "unable to retrieve array value in Phar::mungServer()"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "unable to retrieve array value in Phar::mungServer()"); return; } if (Z_TYPE_PP(data) != IS_STRING) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME"); return; } if (!php_self && Z_STRLEN_PP(data) == sizeof("PHP_SELF")-1 && !strncmp(Z_STRVAL_PP(data), "PHP_SELF", sizeof("PHP_SELF")-1)) { if (SUCCESS != zend_hash_add_empty_element(&(PHAR_GLOBALS->phar_SERVER_mung_list), "PHP_SELF", sizeof("PHP_SELF")-1)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unable to add PHP_SELF to Phar::mungServer() list of values to mung"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unable to add PHP_SELF to Phar::mungServer() list of values to mung"); return; } php_self = 1; @@ -903,14 +903,14 @@ if (Z_STRLEN_PP(data) == sizeof("REQUEST_URI")-1) { if (!request_uri && !strncmp(Z_STRVAL_PP(data), "REQUEST_URI", sizeof("REQUEST_URI")-1)) { if (SUCCESS != zend_hash_add_empty_element(&(PHAR_GLOBALS->phar_SERVER_mung_list), "REQUEST_URI", sizeof("REQUEST_URI")-1)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unable to add REQUEST_URI to Phar::mungServer() list of values to mung"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unable to add REQUEST_URI to Phar::mungServer() list of values to mung"); return; } request_uri = 1; } if (!script_name && !strncmp(Z_STRVAL_PP(data), "SCRIPT_NAME", sizeof("SCRIPT_NAME")-1)) { if (SUCCESS != zend_hash_add_empty_element(&(PHAR_GLOBALS->phar_SERVER_mung_list), "SCRIPT_NAME", sizeof("SCRIPT_NAME")-1)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unable to add SCRIPT_NAME to Phar::mungServer() list of values to mung"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unable to add SCRIPT_NAME to Phar::mungServer() list of values to mung"); return; } script_name = 1; @@ -918,7 +918,7 @@ } if (!script_filename && Z_STRLEN_PP(data) == sizeof("SCRIPT_FILENAME")-1 && !strncmp(Z_STRVAL_PP(data), "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME")-1)) { if (SUCCESS != zend_hash_add_empty_element(&(PHAR_GLOBALS->phar_SERVER_mung_list), "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME")-1)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, "Unable to add SCRIPT_FILENAME to Phar::mungServer() list of values to mung"); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unable to add SCRIPT_FILENAME to Phar::mungServer() list of values to mung"); return; } script_filename = 1; @@ -959,7 +959,7 @@ stub = phar_create_default_stub(index, webindex, &stub_len, &error TSRMLS_CC); if (error) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, error); + zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, error); efree(error); return; } @@ -3868,6 +3868,11 @@ ZEND_ARG_INFO(0, rewrites) ZEND_END_ARG_INFO(); +static +ZEND_BEGIN_ARG_INFO_EX(arginfo_phar_running, 0, 0, 1) + ZEND_ARG_INFO(0, retphar) +ZEND_END_ARG_INFO(); + #if HAVE_SPL static @@ -3948,11 +3953,6 @@ ZEND_END_ARG_INFO(); static -ZEND_BEGIN_ARG_INFO_EX(arginfo_phar_running, 0, 0, 1) - ZEND_ARG_INFO(0, retphar) -ZEND_END_ARG_INFO(); - -static ZEND_BEGIN_ARG_INFO_EX(arginfo_phar_emptydir, 0, 0, 0) ZEND_ARG_INFO(0, dirname) ZEND_END_ARG_INFO(); http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller11.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/frontcontroller11.phpt diff -u pecl/phar/tests/frontcontroller11.phpt:1.4 pecl/phar/tests/frontcontroller11.phpt:1.5 --- pecl/phar/tests/frontcontroller11.phpt:1.4 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller11.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.php:2 Stack trace: #0 %sfrontcontroller11.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller12.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/phar/tests/frontcontroller12.phpt diff -u pecl/phar/tests/frontcontroller12.phpt:1.3 pecl/phar/tests/frontcontroller12.phpt:1.4 --- pecl/phar/tests/frontcontroller12.phpt:1.3 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller12.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.php:2 Stack trace: #0 %sfrontcontroller12.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller13.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/phar/tests/frontcontroller13.phpt diff -u pecl/phar/tests/frontcontroller13.phpt:1.3 pecl/phar/tests/frontcontroller13.phpt:1.4 --- pecl/phar/tests/frontcontroller13.phpt:1.3 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller13.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.php:2 Stack trace: #0 %sfrontcontroller13.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller18.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/phar/tests/frontcontroller18.phpt diff -u pecl/phar/tests/frontcontroller18.phpt:1.3 pecl/phar/tests/frontcontroller18.phpt:1.4 --- pecl/phar/tests/frontcontroller18.phpt:1.3 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller18.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller9.phar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.php:2 +Fatal error: Uncaught exception 'PharException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.php:2 Stack trace: #0 %sfrontcontroller18.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller19.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/phar/tests/frontcontroller19.phpt diff -u pecl/phar/tests/frontcontroller19.phpt:1.3 pecl/phar/tests/frontcontroller19.phpt:1.4 --- pecl/phar/tests/frontcontroller19.phpt:1.3 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller19.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller10.phar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.php:2 Stack trace: #0 %sfrontcontroller19.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/frontcontroller20.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/phar/tests/frontcontroller20.phpt diff -u pecl/phar/tests/frontcontroller20.phpt:1.3 pecl/phar/tests/frontcontroller20.phpt:1.4 --- pecl/phar/tests/frontcontroller20.phpt:1.3 Wed Feb 20 13:11:38 2008 +++ pecl/phar/tests/frontcontroller20.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller11.phar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.php:2 Stack trace: #0 %sfrontcontroller20.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller11.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller11.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller11.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller11.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller11.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller11.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.phar.php:2 Stack trace: #0 %sfrontcontroller11.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller12.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller12.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller12.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller12.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller12.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller12.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.phar.php:2 Stack trace: #0 %sfrontcontroller12.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller13.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller13.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller13.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller13.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller13.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller13.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.phar.php:2 Stack trace: #0 %sfrontcontroller13.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller18.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller18.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller18.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller18.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller18.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller18.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller9.phar.tar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.phar.php:2 Stack trace: #0 %sfrontcontroller18.phar.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller19.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller19.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller19.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller19.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller19.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller19.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller10.phar.tar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.phar.php:2 Stack trace: #0 %sfrontcontroller19.phar.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/tar/frontcontroller20.phar.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/phar/tests/tar/frontcontroller20.phar.phpt diff -u pecl/phar/tests/tar/frontcontroller20.phar.phpt:1.4 pecl/phar/tests/tar/frontcontroller20.phar.phpt:1.5 --- pecl/phar/tests/tar/frontcontroller20.phar.phpt:1.4 Tue Feb 12 16:39:58 2008 +++ pecl/phar/tests/tar/frontcontroller20.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller11.phar.tar --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.phar.php:2 Stack trace: #0 %sfrontcontroller20.phar.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller11.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller11.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller11.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller11.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller11.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller11.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Key of MIME type overrides array must be a file extension, was "0"' in %sfrontcontroller11.phar.php:2 Stack trace: #0 %sfrontcontroller11.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller12.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller12.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller12.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller12.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller12.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller12.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller12.phar.php:2 Stack trace: #0 %sfrontcontroller12.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller13.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller13.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller13.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller13.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller13.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller13.phar.phpt Sat Apr 12 21:43:38 2008 @@ -11,7 +11,7 @@ --EXPECTHEADERS-- Content-type: text/html --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed' in %sfrontcontroller13.phar.php:2 Stack trace: #0 %sfrontcontroller13.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller18.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller18.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller18.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller18.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller18.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller18.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller9.phar.zip --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'No values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller18.phar.php:2 Stack trace: #0 %sfrontcontroller18.phar.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller19.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller19.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller19.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller19.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller19.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller19.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller10.phar.zip --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Too many values passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller19.phar.php:2 Stack trace: #0 %sfrontcontroller19.phar.php(2): Phar::mungServer(Array) #1 {main} http://cvs.php.net/viewvc.cgi/pecl/phar/tests/zip/frontcontroller20.phar.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/phar/tests/zip/frontcontroller20.phar.phpt diff -u pecl/phar/tests/zip/frontcontroller20.phar.phpt:1.5 pecl/phar/tests/zip/frontcontroller20.phar.phpt:1.6 --- pecl/phar/tests/zip/frontcontroller20.phar.phpt:1.5 Mon Feb 11 21:05:46 2008 +++ pecl/phar/tests/zip/frontcontroller20.phar.phpt Sat Apr 12 21:43:38 2008 @@ -9,7 +9,7 @@ --FILE_EXTERNAL-- files/frontcontroller11.phar.zip --EXPECTF-- -Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.phar.php:2 +Fatal error: Uncaught exception 'PharException' with message 'Non-string value passed to Phar::mungServer(), expecting an array of any of these strings: PHP_SELF, REQUEST_URI, SCRIPT_FILENAME, SCRIPT_NAME' in %sfrontcontroller20.phar.php:2 Stack trace: #0 %sfrontcontroller20.phar.php(2): Phar::mungServer(Array) #1 {main}
« previous php.pecl.cvs (#10357) next »