| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Cf. <https://github.com/php/php-src/pull/5180#issuecomment-590259750>ff.
|
|
|
|
|
|
|
| |
We implement support for a fifth parameter, which allows to specify the
mapsize. The parameter defaults to zero, in which case the compiled in
default mapsize (usually 1048576) will be used. The mapsize should be
a multiple of the page size of the OS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fastcgi_finish_request
To retain legacy behavior I decided to add an option to control request
termination logic. If request_terminate_timeout_track_finished is set,
then request will be tracked for time limits even after
fastcgi_finish_request was called.
This patch depends on the fix provided in BUG 78469 (otherwise php-fpm
workers listening on named pipes on Windows will be erroneously terminated)
(PR #4636)
|
| |
|
|
|
|
|
|
|
| |
And also check for CURL_VERSION_* constants in the sync-constants.php
script.
Related to request #72189: Add missing `CURL_VERSION_*` constants.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Disable rsh/ssh functionality in imap by default (bug #77153)
|
| | |
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| | |
See de65a2243f5e52ccafc69889ab0b64f4481c5358 which exposes
the unregister functionality.
[ci skip]
|
| |
| |
| |
| |
| |
| |
| | |
PR #3317[1] is relevant for the migration guide, so we add a respective
note in UPGRADING.
[1] <https://github.com/php/php-src/pull/3317>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the callback set via `xml_set_external_entity_ref_handler()` returns
a falsy value, parsing is supposed to stop and the error number set to
`XML_ERROR_EXTERNAL_ENTITY_HANDLING`. This is already correctly done
by the libexpat binding, but the libxml2 binding ignores the return
value. We fix this by calling `xmlStopParser()` which is available as
of libxml 2.1.0[1] (PHP-7.1 requires at least libxml 2.6.11 anyway),
and setting the desired `errNo` ourselves.
[1] <http://xmlsoft.org/news.html>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This is especially noteworthy since `tidy_get_relase()` returns
'unknown' when built against libtidyp, which might break some code
which relies on `tidy_get_release()` to return a date formatted as
`yyyy/mm/dd`.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| |
| |
| |
| | |
Cf. <https://github.com/php/php-src/pull/3532>.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The “Allow a trailing comma in function calls” RFC has not been
mentioned there, yet.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Cf. <https://wiki.php.net/rfc/same-site-cookie>.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The constants are mentioned further up in the New Features section,
but weren't explicitly listed under the New Global Constants section.
|
| |
| |
| |
| | |
Returns the key of the first element or null - array_key_last(array $a) Returns the key of the last element or null
|
| | |
|
| |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/case_insensitive_constant_deprecation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this change, var_export()'s output for stdClass objects calls
the non-existent stdClass::__set_state method, and is therefore useless.
This commit makes var_export() output an (object) cast from an array
instead, which when evaluated, will produce a stdClass object. Other
classes see unchanged output.
|
| |
| |
| |
| | |
an alias to 'magic_quotes' (FILTER_SANITIZE_MAGIC_QUOTES) so we can move past our "magical" legacy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The IPv6 IP of a socket is provided by inet_ntop() as a string, but
this function doesn't enclose the IP in brackets. This patch adds
them in the php_network_populate_name_from_sockaddr() function.
|
| |
| |
| |
| |
| |
| | |
Supersedes RFC https://wiki.php.net/rfc/continue_on_switch_deprecation
by generating a warning instead of deprecating and removing this
functionality.
|
| |
| |
| |
| | |
Also some minor code cleanup.
|
| | |
|
| |
| |
| |
| | |
Changed error message, added UPGRADING note and test.
|
| |
| |
| |
| |
| |
| | |
Don't automatically convert literal string keys to integers on
array access, as we may be dealing with an ArrayAccess object,
rather than a plain array.
|