History log of /php-src/ (Results 201 – 225 of 114382)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
49bc011c08-Nov-2024 Jakub Zelenka

Merge branch 'PHP-8.3' into PHP-8.4


af8ebb1208-Nov-2024 Jakub Zelenka

Merge branch 'PHP-8.2' into PHP-8.3


065bde1e23-Oct-2024 Jakub Zelenka

Fix GH-16432: PHP-FPM 8.2 SIGSEGV in fpm_get_status

3b609ab008-Nov-2024 Ilija Tovilo

[skip ci] Fix asan ubuntu image condition in nightly

This was meant only for master. 8.4 should still use 22.04.

9216436108-Nov-2024 David Carlier

Merge branch 'PHP-8.4'


5252e8b508-Nov-2024 David Carlier

Merge branch 'PHP-8.3' into PHP-8.4


61b4e67f08-Nov-2024 David Carlier

Merge branch 'PHP-8.2' into PHP-8.3


875a9dc408-Nov-2024 David Carlier

Fix introduced leaks from GH-15715.

Choosing here to shrink the requested allocation to its max value.

f3b150a606-Nov-2024 Gina Peter Banyard

ext/standard: Move array_walk(_recursive)() tests into subfolder


ext/standard/tests/array/array_walk/array_walk.phpt
ext/standard/tests/array/array_walk/array_walk_basic1.phpt
ext/standard/tests/array/array_walk/array_walk_basic2.phpt
ext/standard/tests/array/array_walk/array_walk_closure.phpt
ext/standard/tests/array/array_walk/array_walk_error2.phpt
ext/standard/tests/array/array_walk/array_walk_object1.phpt
ext/standard/tests/array/array_walk/array_walk_object2.phpt
ext/standard/tests/array/array_walk/array_walk_objects.phpt
ext/standard/tests/array/array_walk/array_walk_rec_objects.phpt
ext/standard/tests/array/array_walk/array_walk_recursive.phpt
ext/standard/tests/array/array_walk/array_walk_recursive1.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_basic1.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_basic2.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_error2.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_object1.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_object2.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation3.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation4.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation5.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation6.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation7.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation8.phpt
ext/standard/tests/array/array_walk/array_walk_recursive_variation9.phpt
ext/standard/tests/array/array_walk/array_walk_variation3.phpt
ext/standard/tests/array/array_walk/array_walk_variation4.phpt
ext/standard/tests/array/array_walk/array_walk_variation5.phpt
ext/standard/tests/array/array_walk/array_walk_variation6.phpt
ext/standard/tests/array/array_walk/array_walk_variation7.phpt
ext/standard/tests/array/array_walk/array_walk_variation8.phpt
ext/standard/tests/array/array_walk/array_walk_variation9.phpt
ext/standard/tests/array/array_walk/bug12776.phpt
ext/standard/tests/array/array_walk/bug30266.phpt
ext/standard/tests/array/array_walk/bug34066.phpt
ext/standard/tests/array/array_walk/bug34066_1.phpt
ext/standard/tests/array/array_walk/bug34982.phpt
ext/standard/tests/array/array_walk/bug39576.phpt
ext/standard/tests/array/array_walk/bug42850.phpt
ext/standard/tests/array/array_walk/bug52719.phpt
ext/standard/tests/array/array_walk/bug61730.phpt
ext/standard/tests/array/array_walk/bug61967.phpt
ext/standard/tests/array/array_walk/bug62607.phpt
ext/standard/tests/array/array_walk/bug69068.phpt
ext/standard/tests/array/array_walk/bug69068_2.phpt
ext/standard/tests/array/array_walk/bug70713.phpt
ext/standard/tests/array/array_walk/bug79839.phpt
f011684206-Nov-2024 Gina Peter Banyard

ext/standard: Split sort tests that contain escape sequences

d8a63a3806-Nov-2024 Gina Peter Banyard

ext/standard: Move sort() related tests into subfolder


ext/standard/tests/array/001.phpt
ext/standard/tests/array/sort/array_multisort_basic1.phpt
ext/standard/tests/array/sort/array_multisort_basic2.phpt
ext/standard/tests/array/sort/array_multisort_case.phpt
ext/standard/tests/array/sort/array_multisort_error.phpt
ext/standard/tests/array/sort/array_multisort_incase.phpt
ext/standard/tests/array/sort/array_multisort_natural.phpt
ext/standard/tests/array/sort/array_multisort_natural_case.phpt
ext/standard/tests/array/sort/array_multisort_natural_incase.phpt
ext/standard/tests/array/sort/array_multisort_stability.phpt
ext/standard/tests/array/sort/array_multisort_variation1.phpt
ext/standard/tests/array/sort/array_multisort_variation10.phpt
ext/standard/tests/array/sort/array_multisort_variation11.phpt
ext/standard/tests/array/sort/array_multisort_variation2.phpt
ext/standard/tests/array/sort/array_multisort_variation3.phpt
ext/standard/tests/array/sort/array_multisort_variation4.phpt
ext/standard/tests/array/sort/array_multisort_variation5.phpt
ext/standard/tests/array/sort/array_multisort_variation6.phpt
ext/standard/tests/array/sort/array_multisort_variation7.phpt
ext/standard/tests/array/sort/array_multisort_variation8.phpt
ext/standard/tests/array/sort/array_multisort_variation9.phpt
ext/standard/tests/array/sort/array_shuffle_basic.phpt
ext/standard/tests/array/sort/arsort_basic.phpt
ext/standard/tests/array/sort/arsort_object1.phpt
ext/standard/tests/array/sort/arsort_object2.phpt
ext/standard/tests/array/sort/arsort_variation10.phpt
ext/standard/tests/array/sort/arsort_variation11.phpt
ext/standard/tests/array/sort/arsort_variation3.phpt
ext/standard/tests/array/sort/arsort_variation4.phpt
ext/standard/tests/array/sort/arsort_variation5.phpt
ext/standard/tests/array/sort/arsort_variation6.phpt
ext/standard/tests/array/sort/arsort_variation7.phpt
ext/standard/tests/array/sort/arsort_variation8.phpt
ext/standard/tests/array/sort/arsort_variation9.phpt
ext/standard/tests/array/sort/asort_basic.phpt
ext/standard/tests/array/sort/asort_object1.phpt
ext/standard/tests/array/sort/asort_object2.phpt
ext/standard/tests/array/sort/asort_stability.phpt
ext/standard/tests/array/sort/asort_variation10.phpt
ext/standard/tests/array/sort/asort_variation11.phpt
ext/standard/tests/array/sort/asort_variation3.phpt
ext/standard/tests/array/sort/asort_variation4.phpt
ext/standard/tests/array/sort/asort_variation5.phpt
ext/standard/tests/array/sort/asort_variation6.phpt
ext/standard/tests/array/sort/asort_variation7.phpt
ext/standard/tests/array/sort/asort_variation8.phpt
ext/standard/tests/array/sort/asort_variation9.phpt
ext/standard/tests/array/sort/bug24897.phpt
ext/standard/tests/array/sort/bug25359.phpt
ext/standard/tests/array/sort/bug33382.phpt
ext/standard/tests/array/sort/bug36975.phpt
ext/standard/tests/array/sort/bug44929.phpt
ext/standard/tests/array/sort/bug50006.phpt
ext/standard/tests/array/sort/bug50006_1.phpt
ext/standard/tests/array/sort/bug50006_2.phpt
ext/standard/tests/array/sort/bug71334.phpt
ext/standard/tests/array/sort/bug77395.phpt
ext/standard/tests/array/sort/data.inc
ext/standard/tests/array/sort/gh9296.phpt
ext/standard/tests/array/sort/internal_sorts_basic.phpt
ext/standard/tests/array/sort/krsort_basic.phpt
ext/standard/tests/array/sort/krsort_object.phpt
ext/standard/tests/array/sort/krsort_variation10.phpt
ext/standard/tests/array/sort/krsort_variation11.phpt
ext/standard/tests/array/sort/krsort_variation3.phpt
ext/standard/tests/array/sort/krsort_variation4.phpt
ext/standard/tests/array/sort/krsort_variation5.phpt
ext/standard/tests/array/sort/krsort_variation6.phpt
ext/standard/tests/array/sort/krsort_variation7.phpt
ext/standard/tests/array/sort/krsort_variation8.phpt
ext/standard/tests/array/sort/krsort_variation9.phpt
ext/standard/tests/array/sort/ksort_basic.phpt
ext/standard/tests/array/sort/ksort_object.phpt
ext/standard/tests/array/sort/ksort_variation10.phpt
ext/standard/tests/array/sort/ksort_variation11.phpt
ext/standard/tests/array/sort/ksort_variation3.phpt
ext/standard/tests/array/sort/ksort_variation4.phpt
ext/standard/tests/array/sort/ksort_variation5.phpt
ext/standard/tests/array/sort/ksort_variation6.phpt
ext/standard/tests/array/sort/ksort_variation7.phpt
ext/standard/tests/array/sort/ksort_variation8.phpt
ext/standard/tests/array/sort/ksort_variation9.phpt
ext/standard/tests/array/sort/locale_sort.phpt
ext/standard/tests/array/sort/natcasesort_basic.phpt
ext/standard/tests/array/sort/natcasesort_object1.phpt
ext/standard/tests/array/sort/natcasesort_object2.phpt
ext/standard/tests/array/sort/natcasesort_variation10.phpt
ext/standard/tests/array/sort/natcasesort_variation11.phpt
ext/standard/tests/array/sort/natcasesort_variation2.phpt
ext/standard/tests/array/sort/natcasesort_variation3.phpt
ext/standard/tests/array/sort/natcasesort_variation4.phpt
ext/standard/tests/array/sort/natcasesort_variation5.phpt
ext/standard/tests/array/sort/natcasesort_variation6.phpt
ext/standard/tests/array/sort/natcasesort_variation7.phpt
ext/standard/tests/array/sort/natcasesort_variation8.phpt
ext/standard/tests/array/sort/natcasesort_variation9.phpt
ext/standard/tests/array/sort/natsort_basic.phpt
ext/standard/tests/array/sort/natsort_natcasesort_basics.phpt
ext/standard/tests/array/sort/rsort_basic.phpt
ext/standard/tests/array/sort/rsort_object1.phpt
ext/standard/tests/array/sort/rsort_object2.phpt
ext/standard/tests/array/sort/rsort_variation10.phpt
ext/standard/tests/array/sort/rsort_variation11.phpt
ext/standard/tests/array/sort/rsort_variation3.phpt
ext/standard/tests/array/sort/rsort_variation4.phpt
ext/standard/tests/array/sort/rsort_variation5.phpt
ext/standard/tests/array/sort/rsort_variation6.phpt
ext/standard/tests/array/sort/rsort_variation7.phpt
ext/standard/tests/array/sort/rsort_variation8.phpt
ext/standard/tests/array/sort/rsort_variation9.phpt
ext/standard/tests/array/sort/shuffle_basic1.phpt
ext/standard/tests/array/sort/shuffle_basic2.phpt
ext/standard/tests/array/sort/shuffle_variation2.phpt
ext/standard/tests/array/sort/shuffle_variation3.phpt
ext/standard/tests/array/sort/shuffle_variation4.phpt
ext/standard/tests/array/sort/shuffle_variation5.phpt
ext/standard/tests/array/sort/sort_basic.phpt
ext/standard/tests/array/sort/sort_object1.phpt
ext/standard/tests/array/sort/sort_object2.phpt
ext/standard/tests/array/sort/sort_variation10.phpt
ext/standard/tests/array/sort/sort_variation11.phpt
ext/standard/tests/array/sort/sort_variation3.phpt
ext/standard/tests/array/sort/sort_variation4.phpt
ext/standard/tests/array/sort/sort_variation5.phpt
ext/standard/tests/array/sort/sort_variation6.phpt
ext/standard/tests/array/sort/sort_variation7.phpt
ext/standard/tests/array/sort/sort_variation8.phpt
ext/standard/tests/array/sort/sort_variation9.phpt
ext/standard/tests/array/sort/uasort_basic1.phpt
ext/standard/tests/array/sort/uasort_basic2.phpt
ext/standard/tests/array/sort/uasort_object1.phpt
ext/standard/tests/array/sort/uasort_object2.phpt
ext/standard/tests/array/sort/uasort_variation10.phpt
ext/standard/tests/array/sort/uasort_variation11.phpt
ext/standard/tests/array/sort/uasort_variation3.phpt
ext/standard/tests/array/sort/uasort_variation4.phpt
ext/standard/tests/array/sort/uasort_variation5.phpt
ext/standard/tests/array/sort/uasort_variation6.phpt
ext/standard/tests/array/sort/uasort_variation7.phpt
ext/standard/tests/array/sort/uasort_variation8.phpt
ext/standard/tests/array/sort/uksort_basic.phpt
ext/standard/tests/array/sort/user_sort_basics.phpt
ext/standard/tests/array/sort/usort_basic.phpt
ext/standard/tests/array/sort/usort_object1.phpt
ext/standard/tests/array/sort/usort_object2.phpt
ext/standard/tests/array/sort/usort_stability.phpt
ext/standard/tests/array/sort/usort_variation10.phpt
ext/standard/tests/array/sort/usort_variation11.phpt
ext/standard/tests/array/sort/usort_variation3.phpt
ext/standard/tests/array/sort/usort_variation4.phpt
ext/standard/tests/array/sort/usort_variation5.phpt
ext/standard/tests/array/sort/usort_variation6.phpt
ext/standard/tests/array/sort/usort_variation7.phpt
ext/standard/tests/array/sort/usort_variation8.phpt
ext/standard/tests/array/sort/usort_variation9.phpt
600da8cf07-Nov-2024 David Carlier

Merge branch 'PHP-8.4'


7477c1b407-Nov-2024 David Carlier

Merge branch 'PHP-8.3' into PHP-8.4


3f28644f07-Nov-2024 David Carlier

Merge branch 'PHP-8.2' into PHP-8.3


e74e66e316-Sep-2024 David Carlier

Fix oss-fuzz report triggered by GH-15712 commit.

It triggered allocation overflow which, even fixed, in turn gives memory
leak on 32 bits but the allocator relies on signed integers.

Fix oss-fuzz report triggered by GH-15712 commit.

It triggered allocation overflow which, even fixed, in turn gives memory
leak on 32 bits but the allocator relies on signed integers.

close GH-15915

show more ...

93c9c7c507-Nov-2024 Ilija Tovilo

[skip ci] Update to ubuntu 24.04 for asan in nightly

fb257ee807-Nov-2024 Ilija Tovilo

Upgrade master to Ubuntu 24.04 (GH-16704)

40997c2c07-Nov-2024 Arnaud Le Blanc

[ci skip] NEWS for GH-16702

4dc0b40f04-Nov-2024 Michael Orlitzky

ext/standard/crypt.c: handle musl failure tokens

Musl's crypt() returns "*" to indicate failure in contrast with the
"*0" returned by PHP/libxcrypt. This causes test failures, but more

ext/standard/crypt.c: handle musl failure tokens

Musl's crypt() returns "*" to indicate failure in contrast with the
"*0" returned by PHP/libxcrypt. This causes test failures, but more
importantly, is a pretty silly thing to expect the user to know.
This commit catches the musl value and turns it into "*0".

show more ...

f5d2e7b704-Nov-2024 Michael Orlitzky

ext/standard/tests/crypt/des_fallback_invalid_salt.phpt: less valid salt

Musl's crypt() implementation of DES tries to handle invalid salts and
can make this test fail because it returns

ext/standard/tests/crypt/des_fallback_invalid_salt.phpt: less valid salt

Musl's crypt() implementation of DES tries to handle invalid salts and
can make this test fail because it returns an answer and not an
error. Even musl however will reject a salt with a ':' in it, so we
can make this test cross-platform by supplying an even less valid
salt.

show more ...

8a71200304-Nov-2024 Michael Orlitzky

ext/standard/tests/strings/crypt_sha256.phpt: fix on musl

Among other things, this test tries to run too few and too many rounds
of SHA256. In both cases, it is expecting an error, but t

ext/standard/tests/strings/crypt_sha256.phpt: fix on musl

Among other things, this test tries to run too few and too many rounds
of SHA256. In both cases, it is expecting an error, but that behavior
depends on the implementation:

* PHP's own implementation raises an error in either case
* libxcrypt raises an error in either case
* Older versions of glibc would clamp the number of rounds
to a valid amount (newer versions don't have libcrypt)
* Musl libc clamps values that are too low, but raises an error
for values that are too high

If PHP is built with --with-external-libcrypt, the musl implementation
above can be used. Even if libxcrypt is installed, PHP will notice
that no additional -lfoo flags are needed to use the crypt
implementation in musl. To pass on such a system, we must not test
for the "too few rounds" behavior.

show more ...

452c5ac907-Nov-2024 Ilija Tovilo

Fix incorrect filename of dl()'d internal consts (#16721)

We should only attempt to fetch the current filename for user constants. dl()
may attempt to register internal constants after e

Fix incorrect filename of dl()'d internal consts (#16721)

We should only attempt to fetch the current filename for user constants. dl()
may attempt to register internal constants after execution has already started,
thus incorrectly linking the user file invoking dl().

See GH-16663

show more ...

5c76ef7804-Nov-2024 Christoph M. Becker

Fix GH-10992: Improper long path support for relative paths

Relative paths are passed to the ioutils APIs, these are not properly
converted to long paths. If the path length already exc

Fix GH-10992: Improper long path support for relative paths

Relative paths are passed to the ioutils APIs, these are not properly
converted to long paths. If the path length already exceeds a given
threshold (usually 259 characters, but only 247 for `mkdir()`), the
long path prefix is prepended, resulting in an invalid path, since long
paths have to be absolute. If the path length does not exceed that
threshold, no conversion to a long path is done, although that may be
necessary.

Thus we take the path length of the current working directory into
account when checking the threshold, and prepend it to the filename if
necessary.

Since this is only relevant for NTS builds, and using the current
working directory of the process would be erroneous for ZTS builds, we
skip the new code for ZTS builds.

Closes GH-16687.

show more ...

59fe79fb07-Nov-2024 Christoph M. Becker

Merge branch 'PHP-8.4'

* PHP-8.4:
Skip tests if ldap_set_rebind_proc() is not available


6b754d9e07-Nov-2024 Christoph M. Becker

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Skip tests if ldap_set_rebind_proc() is not available


12345678910>>...4576