summaryrefslogtreecommitdiff
path: root/sapi/cli
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #70006 (cli - function with default arg = STDOUT crash output).Xinchen Hui2015-07-071-0/+18
|
* http parser code assumes char is signedAnton Blanchard2015-07-061-1/+2
| | | | | | | A char can be either signed or unsigned, and on PowerPC and ARM it is unsigned. The following code will always be false on these architectures: if (c == -1) goto error;
* Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-1/+1
|
* Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-1/+1
|
* integrate the openssl applink shimAnatol Belski2015-07-031-0/+4
| | | | | | | | | This fixes ext/openssl/tests/openssl_spki_export.phpt failing with the no OPENSSL_Applink error. Applink is also an interesting technique documented in the OpenSSL FAQ https://www.openssl.org/support/faq.html#PROG2 which allows under circumstances using different OpenSSL binaries than those a program was linked with.
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-11/+11
| | | | semantick changes).
* Merge branch 'PHP-5.6'Christoph M. Becker2015-06-272-2/+39
|\ | | | | | | | | | | * PHP-5.6: updated NEWS Fixed #69655: php -S changes MKCALENDAR request method to MKCOL
| * Fixed #69655: php -S changes MKCALENDAR request method to MKCOLChristoph M. Becker2015-06-272-2/+39
| | | | | | | | | | The parsing of the request method in the CLI server has been faulty, so that several unsupported methods have been recognized as other methods.
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-06-271-1/+3
|\ \ | |/ | | | | | | * PHP-5.6: added skip condition for powershell requirement of test
| * added skip condition for powershell requirement of testChristoph M. Becker2015-06-271-1/+3
| |
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-06-272-0/+22
|\ \ | |/ | | | | | | * PHP-5.6: Fix #64878: 304 responses return Content-Type header
| * Fix #64878: 304 responses return Content-Type headerChristoph M. Becker2015-06-272-0/+22
| | | | | | | | | | According to RFC 7232 304 responses should not send a Content-Type header, so the CLI server should comply.
* | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-141-4/+0
|\ \ | | | | | | | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * | cleanup more redundant S_IS* declarationsAnatol Belski2015-05-251-4/+0
| | |
* | | Throwable method signatures.Aaron Piotrowski2015-05-181-9/+9
| | |
* | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-172-2/+2
| | |
* | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-172-2/+2
|\ \ \ | |/ /
| * | Tweak uncaught exception message displayNikita Popov2015-05-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
* | | Fix a few missed tests.Aaron Piotrowski2015-05-161-1/+1
| | |
* | | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-164-5/+5
|/ /
* | Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-152-2/+9
| | | | | | | | | | | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* | Add comment about SEARCH HTTP Verb being possible as wellMats Lindh2015-05-121-2/+1
| |
* | Add test for the SEARCH HTTP verb in the CLI HTTP server.Mats Lindh2015-05-121-0/+40
| |
* | Add "SEARCH" as supported HTTP verb.Mats Lindh2015-05-122-0/+4
| | | | | | | | | | The "SEARCH" HTTP request method is described in RFC5323 as part of WebDAV, and allows a client to initiate a server side search.
* | Drop zend_indent() as it was never used, complete or workingKalle Sommer Nielsen2015-03-272-22/+0
| |
* | fix testAnatol Belski2015-03-231-1/+1
| |
* | Fixed testXinchen Hui2015-03-211-1/+1
| |
* | Merge branch 'rfc-preg-replace-callback-array' of ↵Xinchen Hui2015-03-211-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | https://github.com/zxcvdavid/php-src Conflicts: Zend/zend_vm_gen.php ext/pcre/php_pcre.c
| * | Implement preg_replace_callback_array functionWei Dai2015-03-131-0/+9
| | |
* | | don't expect set/get title symbols are always thereAnatol Belski2015-03-181-3/+35
|/ /
* | Fix CLI test and drop some now unnecessary codeNikita Popov2015-03-091-1/+4
| |
* | Implement engine exceptionsDmitry Stogov2015-03-091-2/+2
| | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.
* | Merge branch 'PHP-5.6'Reeze Xia2015-03-032-0/+20
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fixed bug #67741 (auto_prepend_file messes up __LINE__) Conflicts: main/main.c
| * Fixed bug #67741 (auto_prepend_file messes up __LINE__)Reeze Xia2015-03-032-0/+20
| | | | | | | | This also fixes bug #54081
* | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-163-4/+4
| | | | | | | | which also comply with the current semantics for such macros
* | Merged zend_array and HashTable into the single data structure.Dmitry Stogov2015-02-131-2/+2
| | | | | | | | | | Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.
* | remove useless condition (same as headers_list())Anatol Belski2015-02-131-3/+0
| |
* | Silence unused variable warningReeze Xia2015-02-131-4/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2015-02-131-4/+1
|\ \ | |/ | | | | | | | | | | Conflicts: ext/soap/soap.c ext/standard/basic_functions.c ext/zlib/zlib.c
| * bump yearXinchen Hui2015-01-158-9/+9
| |
| * Fix bug #68784Rasmus Lerdorf2015-01-091-1/+1
| |
* | zend_read_property() has to provide a holder for return value.Dmitry Stogov2015-01-221-2/+2
| | | | | | | | Previously it was possible that zend_read_property() returned pointer to zval allocated on stack.
* | bump yearXinchen Hui2015-01-1510-11/+11
| |
* | Faster sorting algoXinchen Hui2015-01-141-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-103-18/+18
| |
* | Fix bug #68784Rasmus Lerdorf2015-01-091-1/+1
| |
* | Merge branch 'PHP-5.6'Adam Harvey2015-01-068-10/+48
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.6: Handle NULL strings in sapi_cli_server_register_variable(). Allow CLI server test scripts to specify the name of the router file. Conflicts: sapi/cli/php_cli_server.c
| * Merge branch 'PHP-5.5' into PHP-5.6Adam Harvey2015-01-068-10/+48
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Handle NULL strings in sapi_cli_server_register_variable(). Allow CLI server test scripts to specify the name of the router file. Conflicts: sapi/cli/tests/php_cli_server.inc
| | * Handle NULL strings in sapi_cli_server_register_variable().Adam Harvey2015-01-062-0/+39
| | | | | | | | | | | | Fixes bug #68745 (Invalid HTTP requests make web server segfault).
| | * Allow CLI server test scripts to specify the name of the router file.Adam Harvey2015-01-066-10/+9
| | | | | | | | | | | | | | | This is required to write tests that behave differently when an index.php isn't present in the document root. (Such as the one I'm about to commit.)