History log of /PHP-8.4/ext/standard/basic_functions.c (Results 226 – 250 of 1522)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# f3f6cd24 15-Dec-2017 Anatol Belski

Modernize realpath and integrate quick variant into virtual_file_ex

The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution

Modernize realpath and integrate quick variant into virtual_file_ex

The slower I/O as a traditional bottleneck on Windows which is
the target of this patch. The recursive path resolution, while being
an allround solution, is expensive when it comes to the common case.
Files with proper ACLs set can be resolved in one go by usage of specific
API. Those are available since Vista, so actually can be called old. Those
simpler api is used for the cases where no CWD_EXPAND is requested. For
the cases where ACLs are improper, the existing solution based on
FindFirstFile still does good job also partially providing quirks. Cases
involing reparse tags and other non local filesystems are also partially
server by new APIs.

The approach uses both APIs - the quick one for the common case still
integrating realpath cache, and the existing one as a fallback. The tests
show the I/O load drop on the realpath resolution part due to less
system calls for the sub part resolution of paths. In most case it is
justified, as the sub parts were otherwise cached or unused as well. The
realpath() implementation in ioutil is also closer to the POSIX.

show more ...


# 9e709e2f 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment


# dc471715 11-Dec-2017 Dmitry Stogov

Avoid temporary string creation and destruction.


# cc12acef 04-Dec-2017 Dmitry Stogov

Use cheaper functions


# 7cc6f601 30-Nov-2017 Dmitry Stogov

Added "argv" and "argc" as known strings.
Fixed incorrect "argc" update and corresponding phpdbg test.


# 06202f0f 27-Nov-2017 Anatol Belski

Fix allocation


# 2868ff84 27-Nov-2017 Anatol Belski

Fix memory leak


# 2b7d283c 27-Nov-2017 Anatol Belski

Fixed bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character


# 7ca5a7d8 21-Nov-2017 Sara Golemon

Add net_get_interfaces()


# ccc12b82 16-Nov-2017 Dmitry Stogov

Avoid unnecessary reference-counting on strings.


# a8a17a72 01-Nov-2017 Xinchen Hui

RC manipulation cleanup


# fcc08ce1 30-Oct-2017 Dmitry Stogov

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.

show more ...


# 61ef91bf 17-Oct-2017 Dmitry Stogov

Revert "Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL)."

This reverts commit da781a5ac2cb9d2f983ef9fe070900

Revert "Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL)."

This reverts commit da781a5ac2cb9d2f983ef9fe070900664db12c67.

show more ...


# da781a5a 17-Oct-2017 Dmitry Stogov

Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL).
However, don't require internal functions returning by reference

Allow internal functions to return values by reference (this was disabled in implementation of DO_ICALL, but enabled in DO_FCALL).
However, don't require internal functions returning by reference to return a reference.
Mark unserialize() as returning by reference and remove unwrap_reference hack, to allow proper returning of self referenced arrays using a reference.
Currently unserialize() is the only internal function that may return a reference.

show more ...


# ef5ea487 10-Oct-2017 Dmitry Stogov

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).


# d3bc8beb 29-Aug-2017 Kalle Sommer Nielsen

Removed support for BeOS, development for BeOS was supported 17 years ago.

This patch however does not drop support for the BeOS compatible variant, Haiku, see Github PR #2697 which is curre

Removed support for BeOS, development for BeOS was supported 17 years ago.

This patch however does not drop support for the BeOS compatible variant, Haiku, see Github PR #2697 which is currently a WiP

I intentionally left out some fragments for BeOS in the build system for that seems to be bundles

show more ...


# 4fbff82c 23-Aug-2017 Kalle Sommer Nielsen

Kill compiler warnings in ext/standard


# b06caa0e 29-Jul-2017 Anatol Belski

remove casts


# 0d1eeeb6 28-Jul-2017 Anatol Belski

move zend_ato*() to size_t and remove casts


# 035a27cb 25-Jun-2017 Nikita Popov

Only compute callback name in error cases

Mostly the callback name is only used to report an error. Try to
avoid calculating it if no error occurred.


# 9c2a1f52 19-Jun-2017 Dmitry Stogov

Avoid useless dereferences and separations during paramter passing.


# 81b2533a 08-Jun-2017 Tyson Andre

Fixes bug #74708 reflection signatures for random_bytes+random_int

They have 1 and 2 required parameters, respectively
See https://secure.php.net/manual/en/function.random-int.php


12345678910>>...61