History log of /php-src/NEWS (Results 1026 – 1050 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 6560c9bf 13-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement DOMParentNode::replaceChildren()

ref: https://dom.spec.whatwg.org/#dom-parentnode-replacechildren


# b24b3510 12-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement DOMElement::className

ref: https://dom.spec.whatwg.org/#dom-element-classname

Closes GH-11691.


# 591f3f61 01-Jul-2023 Marc Bennewitz

Prevent decimal int precision loss in number_format()

Closes GH-11584


# d17069e1 12-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement DOMNode::getRootNode()

ref: https://dom.spec.whatwg.org/#dom-node-getrootnode

Closes GH-11693.


# 10d7e8dc 12-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement DOMElement::getAttributeNames()

ref: https://dom.spec.whatwg.org/#dom-element-getattributenames


# 5572975b 11-Jan-2022 Cristian Rodríguez

proc_open: Use posix_spawn(3) interface on systems where it is profitable

As the size of the PHP process increases, forking gets slower and memory
consumption increases, degrading the pe

proc_open: Use posix_spawn(3) interface on systems where it is profitable

As the size of the PHP process increases, forking gets slower and memory
consumption increases, degrading the performance in varying degrees.

This patch makes proc_open use posix_spawn only on systems which is known to be
safe, faster than the HAVE_FORK path and have posix_spawn_file_actions_addchdir_np(3)
action.
Non scientific benchmark shows running php own's test suite on linux completes
dozens of seconds faster, the impact is probably higher on systems where
posix_spawn is a syscall.

Closes GH-7933

show more ...


# 69b4360e 09-Jul-2023 David Carlier

zend_gdb disable gdb detection for FreeBSD < 11.

ref PR: https://github.com/php/php-src/pull/11599.

Close GH-11646


# ea794e9c 11-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement DOMNode::contains()

ref: https://dom.spec.whatwg.org/#dom-node-contains


# 536dbd74 10-Jul-2023 George Peter Banyard

ext/intl: Fix memory leak in MessageFormatter::format()

Closes GH-11658


# 060df83a 08-Jul-2023 Ilija Tovilo

Fix double-compilation of arrow-function

We transform the arrow function by nesting the expression into a return
statement. If we compile the arrow function twice this would be done twic

Fix double-compilation of arrow-function

We transform the arrow function by nesting the expression into a return
statement. If we compile the arrow function twice this would be done twice,
leading to a compile assertion.

Fix oss-fuzz #60411
Closes GH-11632

show more ...


# bc421791 11-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10914: OPCache with Enum and Callback functions results in segmentation fault

See linked issue for analysis.

Closes GH-11675.


# c2cc1dbc 11-Jul-2023 Tim Düsterhus

[ci skip] NEWS / UPGRADING for ldap_connect with 2 arguments deprecation

see 69a8b63ecf4fec1b35ef4da1ac9579321c45f97f


# a4bdaeab 11-Jul-2023 Derick Rethans

Fix bug GH-11600: Can't parse time strings which include (narrow) non-breaking space characters


# 15ff8303 07-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11625: DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version

Depending on the libxml2 ver

Fix GH-11625: DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version

Depending on the libxml2 version, the behaviour is either to not
render the fragment correctly, or to wrap it inside <></>. Fix it by
unpacking fragments manually. This has the side effect that we need to
move the unlinking check in the replacement function to earlier because
the empty child list is now possible in non-error cases.
Also fixes a mistake in the linked list management.

Closes GH-11627.

show more ...


# 0d07b6d6 08-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add missing check on EVP_VerifyUpdate() in phar util

Closes GH-11640.


# e85fb090 19-Jun-2023 Marc Bennewitz

number_format() Support rounding negative places

Closes GH-11487


# 3ccd8d78 08-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION

Previously this caused a SIGABRT.

Closes GH-11639.


# 343b5997 07-Jul-2023 David Carlier

zend call stack, follow-up on 75e9980.

user stack usable implementation for openbsd.

Close GH-11626


# 4a5d13e2 07-Jul-2023 Jakub Zelenka

Fix GH-11242: Use dynamic buffer for large length in stream mem copy


# 119b0621 11-Oct-2022 Adam Saponara

Fix GH-9669: phpdbg -h options doesn't list the -z option

Adds `-z` flag in phpdbg output.

Closes GH-9713.


# 49864198 07-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS and UPGRADING

Closes GH-11577.


# c962a96c 06-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10562: Memory leak and invalid state with consecutive ftp_nb_fget

When the user does not fully consume the data stream, but instead opens
a new one, a memory leak occurs. Moreover

Fix GH-10562: Memory leak and invalid state with consecutive ftp_nb_fget

When the user does not fully consume the data stream, but instead opens
a new one, a memory leak occurs. Moreover, the state is invalid: when
more commands arrive they'll be handled out-of-sync because the state of
the client does not match what the server is doing.
This leads to all sorts of weirdness, for example:
Warning: ftp_nb_fget(): OK.

Fix it by gracefully closing the old data stream when a new data stream
is started.

Closes GH-11606.

show more ...


# 18067c8c 07-Jul-2023 Tim Düsterhus

[ci skip] Add missing colons in NEWS


# 61251093 07-Jul-2023 Tim Düsterhus

Deprecate MT_RAND_PHP (#11560)

see https://wiki.php.net/rfc/deprecations_php_8_3#mt_rand_php


# 824d1f95 06-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix replaced error handling in SQLite3Stmt::__construct

The error handling is replaced using zend_replace_error_handling(), but
when SQLITE3_CHECK_INITIALIZED() returns early, the old er

Fix replaced error handling in SQLite3Stmt::__construct

The error handling is replaced using zend_replace_error_handling(), but
when SQLITE3_CHECK_INITIALIZED() returns early, the old error handling
isn't restored.

In the past, SQLITE3_CHECK_INITIALIZED() threw a warning when the check
failed. This was replaced a few years ago with an error exception. So we
can fix the bug by just removing the replacing error handling as it
accomplishes nothing anymore.

Closes GH-11607.

show more ...


1...<<41424344454647484950>>...619