Nikita Popov
c4a25da096
Update ext/soap parameter names
...
Closes GH-6300.
2020-10-08 16:32:01 +02:00
Nikita Popov
9e32e1322e
Accept bool in SoapClient::__doRequest
...
$one_way is a boolean argument.
2020-10-08 12:36:49 +02:00
Dmitry Stogov
5f24999237
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed incorrect error message
2020-09-30 08:37:43 +03:00
Dmitry Stogov
2a0e4b88fd
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed incorrect error message
2020-09-30 08:37:35 +03:00
George Peter Banyard
1616363850
Fixed incorrect error message
2020-09-30 08:37:16 +03:00
Dmitry Stogov
b94fd3a3b6
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed incorrect logical condition
2020-09-30 08:29:37 +03:00
Dmitry Stogov
6f0b232648
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed incorrect logical condition
2020-09-30 08:29:21 +03:00
George Peter Banyard
3f5c47af3b
Fixed incorrect logical condition
2020-09-30 08:29:00 +03:00
Máté Kocsis
e950ca13ea
Consolidate the usage of "either" and "one of" in error messages
...
Closes GH-6173
2020-09-20 19:41:47 +02:00
Nikita Popov
c5401854fc
Run tidy
...
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00
Sara Golemon
95f2583743
Allow http tests to run in parallel by using ephemeral ports
2020-09-17 14:38:54 +00:00
Nikita Popov
e55a658115
Merge branch 'PHP-7.4'
...
* PHP-7.4:
ext/soap: Compare Set-Cookie header case-insensitively
2020-09-17 10:31:48 +02:00
Nikita Popov
f0d2efbadc
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
ext/soap: Compare Set-Cookie header case-insensitively
2020-09-17 10:31:30 +02:00
Gabríel Arthúr Pétursson
efc52f1754
ext/soap: Compare Set-Cookie header case-insensitively
...
Closes GH-6143.
2020-09-17 10:31:06 +02:00
Máté Kocsis
c98d47696f
Consolidate new union type ZPP macro names
...
They will now follow the canonical order of types. Older macros are
left intact due to maintaining BC.
Closes GH-6112
2020-09-11 11:00:18 +02:00
twosee
bd1d11d352
Simplify error type filter
...
Closes GH-6049.
2020-09-10 17:36:04 +08:00
Máté Kocsis
9975986b7e
Improve error messages mentioning parameters instead of arguments
...
Closes GH-5999
2020-09-09 10:47:43 +02:00
Dmitry Stogov
4a2ae84188
Add "const". Move constant strings to read-only memory.
2020-09-07 21:35:48 +03:00
Máté Kocsis
e50449bcb4
Use the canonical order of types in array|string ZPP error messages
2020-09-04 14:32:33 +02:00
Máté Kocsis
47d9446c48
Promote warnings to exceptions in ext/soap and ext/xmlwriter
...
Closes GH-5998
2020-09-01 14:22:19 +02:00
Matteo Beccati
cf3fb14679
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #47021 : SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
2020-08-18 18:31:11 +02:00
Matteo Beccati
3877172411
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #47021 : SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
2020-08-18 18:27:26 +02:00
Matteo Beccati
f7c43b8c72
Fix #47021 : SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
2020-08-18 18:10:39 +02:00
Christoph M. Becker
c8e6f05e70
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix HTTP response status code
2020-08-18 08:37:36 +02:00
Christoph M. Becker
3e8172d27b
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix HTTP response status code
2020-08-18 08:35:56 +02:00
Christoph M. Becker
1ae80f8c92
Fix HTTP response status code
2020-08-18 08:33:45 +02:00
Máté Kocsis
2803c8fb8d
Add all the missing parameter types to stubs
...
Closes GH-5955
2020-08-13 14:47:18 +02:00
Máté Kocsis
7aacc705d0
Add many missing closing PHP tags to tests
...
Closes GH-5958
2020-08-09 22:03:36 +02:00
Nikita Popov
8b77c58130
Accept zend_object* in zend_update_property
2020-08-07 16:40:27 +02:00
Nikita Popov
01cbb5967c
Accept zend_object* in zend_unset_property
2020-08-07 16:40:27 +02:00
Nikita Popov
7991fc2753
Accept zend_object in zend_read_property
2020-08-07 16:40:27 +02:00
Máté Kocsis
79981a394e
Add a bunch of missing argument types to stubs
2020-08-03 00:45:51 +02:00
Nikita Popov
86882060ab
Use zend_call_method in SoapFault::__toString()
2020-07-23 16:45:53 +02:00
Nikita Popov
ac56ca0dcc
Separate __call and __soapCall implementations
...
This is overly pedantic, but allows us to enable more arginfo
consistency checks.
2020-07-21 12:59:28 +02:00
Nikita Popov
ae81549048
Move SOAP_SERVER_BEGIN_CODE() after zpp
...
This is still very dubious, because there are lots of other "returns"
between the BEGIN and END -- won't that end up not restoring the
original state?
2020-07-21 12:05:42 +02:00
Máté Kocsis
d30cd7d7e7
Review the usage of apostrophes in error messages
...
Closes GH-5590
2020-07-10 21:05:28 +02:00
Nikita Popov
302933daea
Remove no_separation flag
2020-07-07 09:30:24 +02:00
Max Semenik
2b5de6f839
Remove proto comments from C files
...
Closes GH-5758
2020-07-06 21:13:34 +02:00
Fabien Villepinte
0c6d06ecfa
Replace EXPECTF when possible
...
Closes GH-5779
2020-06-29 21:31:44 +02:00
Nikita Popov
75a04eac97
Make exit() unwind properly
...
exit() is now internally implemented by throwing an exception,
performing a normal stack unwind and a clean shutdown. This ensures
that no persistent resource leaks occur.
The exception is internal, cannot be caught and does not result in
the execution of finally blocks. This may be relaxed in the future.
Closes GH-5768.
2020-06-29 15:50:12 +02:00
Nikita Popov
c9b9f525a9
Include stub hash in generated arginfo files
...
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.
This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.
Closes GH-5739.
2020-06-24 09:55:19 +02:00
Nikita Popov
15846ff115
Add ZVAL_OBJ_COPY macro
...
For the common ZVAL_OBJ + GC_ADDREF pattern.
This mirrors the existing ZVAL_STR_COPY API.
2020-06-17 16:36:56 +02:00
Nikita Popov
975acfe71e
Pass zend_string message to zend_error_cb
...
This makes the zend_error_cb API simpler, and avoid formatting
the same message in multiple places.
It should be noted that the passed zend_string is always
non-persistent, so if you want to store it persistently somewhere,
you may still need to duplicate it.
The last_error_message is cleared a bit more aggressive, to make
sure it doesn't hang around across allocator life-cycles.
Closes GH-5639.
2020-06-05 09:54:02 +02:00
Christoph M. Becker
864fb0ec23
Implement #47074 : phpinfo() reports "On" as 1 for the some extensions
...
What is modified as boolean, should also be displayed as boolean.
2020-06-04 11:25:45 +02:00
George Peter Banyard
e5a7ab33f6
Fix [-Wundef] warning in SOAP extension
2020-05-20 16:29:51 +02:00
Rod Elias
682e2f6c20
Trim trailing whitespaces and fix code style
...
Closes GH-5554.
2020-05-12 17:00:11 +02:00
Máté Kocsis
4a816584a4
Make float to string casts locale-independent
...
From now on, float to string casting will always behave locale-independently.
RFC: https://wiki.php.net/rfc/locale_independent_float_to_string
Closes GH-5224
Co-authored-by: George Peter Banyard <girgias@php.net>
2020-05-08 10:52:23 +02:00
Xinchen Hui
acee66ae8c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed bug #79536 (zend_clear_exception prevent exception's destructor to be called).
2020-04-29 18:59:01 +08:00
Xinchen Hui
8555c2bff0
Fixed bug #79536 (zend_clear_exception prevent exception's destructor to be called).
2020-04-29 18:58:28 +08:00
Nikita Popov
41c7d28c11
Add macro to get ini target address
2020-04-27 10:30:00 +02:00