summaryrefslogtreecommitdiff
path: root/ext/soap
Commit message (Collapse)AuthorAgeFilesLines
* Use TRY_ADDREF/TRY_DELREF in soapNikita Popov2019-07-121-2/+2
| | | | | The DELREF part is a possible fix for bug #78278, the ADDREF part is a drive-by fix.
* Use a different URL in bug44811.phptNikita Popov2019-05-221-2/+2
|
* Support content_type stream context option in soapVincent JARDIN2019-05-212-2/+98
| | | | | | | | | | | | | | | Allows overriding the HTTP header using the HTTP context: $client = new SoapClient('http://url.wsdl&v=latest', [ 'stream_context' => stream_context_create([ 'http' => [ 'content_type' => 'foobarX', ], ]), ]); This is a backport of c55af3c65ac116bbd935bd3d695869d88056c49c to the PHP 7.2 branch.
* Convert CRLF to LF in *.wsdl filesPeter Kokot2019-05-1137-7037/+7041
| | | | | These EOL types are part of different environments and not part of the tests themselves.
* Fixed bug #77945Nikita Popov2019-04-293-9/+28
| | | | | Make sure that we proper distinguish between empty string key and no key during SDL serialization.
* Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-11-122-1/+28
|\ | | | | | | | | * PHP-7.1: Fix #77141: Signedness issue in SOAP when precision=-1
| * Fix #77141: Signedness issue in SOAP when precision=-1Christoph M. Becker2018-11-122-1/+28
| | | | | | | | | | According to php_gcvt(), we assume at most 17 fractional digits for negative precision.
* | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-11-043-1/+103
|\ \ | |/ | | | | | | * PHP-7.1: Fix #76348: WSDL_CACHE_MEMORY causes Segmentation fault
| * Fix #76348: WSDL_CACHE_MEMORY causes Segmentation faultChristoph M. Becker2018-11-043-1/+103
| | | | | | | | | | “Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end.”
| * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1521-21/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in *.phptPeter Kokot2018-10-1455-104/+104
| |
| * Sync leading and final newlines in source code filesPeter Kokot2018-10-1413-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * Trim trailing whitespace in source code filesPeter Kokot2018-10-138-13/+13
| |
* | Fixed bug #50675Cameron Porter2018-10-233-2/+143
| | | | | | | | | | SOAP: Stop overwriting the node name when creating an XML node for an object reference.
* | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1521-21/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in *.phptPeter Kokot2018-10-1455-104/+104
| |
* | Sync leading and final newlines in source code filesPeter Kokot2018-10-1413-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | Trim trailing whitespace in source code filesPeter Kokot2018-10-138-13/+13
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-03-141-3/+3
|\ \ | |/ | | | | | | * PHP-7.1: Reduce var scope
| * Reduce var scopeAnatol Belski2018-03-141-3/+3
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-03-141-9/+7
|\ \ | |/ | | | | | | * PHP-7.1: Fix stack use after scope
| * Fix stack use after scopeAnatol Belski2018-03-141-9/+7
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Joe2018-02-081-1/+1
|\ \ | |/ | | | | | | * PHP-7.1: Fixes bug #75871 Use pkg-config for libxml2 if available
| * Fixes bug #75871 Use pkg-config for libxml2 if availablePedro Magalhães2018-02-081-1/+1
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2018-01-037-11/+11
|\ \ | |/ | | | | | | * PHP-7.1: Happy new year (Update copyright to 2018)
| * Happy new year (Update copyright to 2018)Lior Kaplan2018-01-027-11/+11
| |
| * year++Xinchen Hui2018-01-0214-14/+14
| |
* | year++Xinchen Hui2018-01-0214-14/+14
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-01-012-7/+23
|\ \ | |/
| * Fixed bug #75502Nikita Popov2018-01-012-7/+23
| | | | | | | | | | The string keys were not duplicated into persistent memory in this case.
* | Merge branch 'PHP-7.1' into PHP-7.2Dmitry Stogov2017-12-281-0/+1
|\ \ | |/ | | | | | | * PHP-7.1: Fixed reference-counting
| * Fixed reference-countingDmitry Stogov2017-12-281-0/+1
| |
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-12-222-20/+20
|\ \ | |/
| * Fixed bug #70469Anton Artamonov2017-12-222-20/+20
| | | | | | | | | | Don't generate an E_ERROR if we've already thrown an exception. This interacts badly with error_get_last() checks.
* | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-11-021-2/+5
|\ \ | |/
| * Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-11-021-2/+5
| |\
| | * Fix ext/soap/tests/bug69137.phptNikita Popov2017-11-021-2/+5
| | | | | | | | | | | | Switch to example.org. Also mark it as an online test.
* | | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-10-301-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
| * | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-10-301-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
| | * Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeadersFabien Villepinte2017-10-301-1/+1
| | |
* | | Fix assertion failure in SoapFault ctorNikita Popov2017-09-051-10/+6
| | | | | | | | | | | | | | | | | | Resetting the IAP on a shared array violates COW. I'm replacing this with code to look up indexes 0 and 1, even though this is not strictly the same.
* | | Add test for invalid SoapFault parametersKen Guest2017-09-051-0/+28
| | |
* | | Remove superfluous semicolonsTom Van Looy2017-06-261-1/+1
| | |
* | | Drop soap_hash_str_find_deref()Nikita Popov2017-06-251-23/+13
| | | | | | | | | | | | And directly use zend_hash_str_find_deref() instead.
* | | Move va_copy compatibility code into zend_portability.hNikita Popov2017-06-251-19/+2
| | | | | | | | | | | | | | | Previously this was defined in zend.c and php.h and also handled in another way in soap.c.
* | | Fixed wrong usage of old ZPP API.Dmitry Stogov2017-06-191-0/+1
| | |
* | | Merge branch 'PHP-7.1'Dmitry Stogov2017-06-131-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
| * | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-06-131-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
| | * Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)Dmitry Stogov2017-06-131-1/+1
| | |
* | | Merge branch 'PHP-7.1'Dmitry Stogov2017-02-211-1/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: too many dashes