History log of /PHP-8.2/ (Results 126 – 150 of 110567)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
136a972c25-Jan-2024 Dmitry Stogov

Update IR

IR commit: 0108cdf808d1e7dd6b702738949e095151f49040

b8ff8c0425-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path
Fix GH-13037: PharData incorrectly extracts zip file


78986a6725-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path
Fix GH-13037: PharData incorrectly extracts zip file


a479ed7c25-Jan-2024 Gina Peter Banyard

Zend: Add tests for offsets and containers (#12723)

Add various tests showcasing the behavioural variations of different offset types used on various container types in all possible operatio

Zend: Add tests for offsets and containers (#12723)

Add various tests showcasing the behavioural variations of different offset types used on various container types in all possible operations:
- Read
- Write
- Read Write
- Appending
- Unsetting
- Existence checks with isset()/empty/null coalesce operator
- Behaviour of nesting dimensions (e.g. $container[$offset1][$offset2])

Add a test to ensure compile time and runtime behaviour is identical for offsets.

Add an internal class that overloads the dimension object handlers to zend_test

show more ...

8128d17c24-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix build warning in ext/mbstring

e2c3c48324-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on


31e8cea124-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on


bcd4138124-Jan-2024 Alex Dowad

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix segfault caused by use of 'pass' encoding when mbstring converts multipart form POST data


67051eb811-Jan-2024 Alex Dowad

Fix segfault caused by use of 'pass' encoding when mbstring converts multipart form POST data

When mbstring.encoding_translation=1, and PHP receives an (RFC1867)
form-based file upload,

Fix segfault caused by use of 'pass' encoding when mbstring converts multipart form POST data

When mbstring.encoding_translation=1, and PHP receives an (RFC1867)
form-based file upload, and the Content-Disposition HTTP header contains
a filename for the uploaded file, PHP will internally invoke mbstring
code to 1) try to auto-detect the text encoding of the filename, and if
that succeeds, 2) convert the filename to internal text encoding.

In such cases, the candidate text encodings which are considered during
"auto-detection" are those listed in the INI parameter
mbstring.http_input. Further, mbstring.http_input is one of the few
contexts where mbstring allows the magic string "pass" to appear in
place of an actual text encoding name.

Before mbstring's encoding auto-detection function was reimplemented,
the old implementation would never return "pass", even if "pass" was the
only candidate it was given to choose from. It is not clear if this was
intended by the original developers or not. This behavior was the result
of some rather subtle details of the implementation.

After mbstring's auto-detection function was reimplemented, if the new
implementation was given only one candidate to choose, and it was not
running in 'strict' mode, it would always return that candidate, even
if the candidate was the non-encoding "pass".

The upshot of all of this: Previously, if
mbstring.encoding_translation=1 and mbstring.http_input=pass, encoding
conversion of RFC1867 filenames would never be attempted. But after
the reimplementation, encoding 'conversion' would occur (uselessly).

Further, in December 2022, I reimplemented the relevant bit of
encoding conversion code. When doing this, I never bothered to
implement encoding/decoding routines for the non-encoding "pass",
because I thought that they would never be used. Well, in the one case
described above, those routines *would* have been used, had they
actually existed. Because they didn't exist, we get a nice NULL pointer
dereference and ensuing segfault instead.

Instead of 'fixing' this by adding encoding/decoding routines for the
non-encoding "pass", I have modified the function which the RFC1867
form-handling code invokes to auto-detect input encoding. This function
will never return "pass" now, just like the previous implementation.

Thanks to the GitHub user 'tstangner' for reporting this bug.

show more ...

ea3c541624-Jan-2024 Jorg Adam Sowa

GH-13142: add missing test cases (#13235)

* Added missing global cases to test

* Update gh13142

6f6289ca23-Jan-2024 Ilija Tovilo

Avoid new SSA var for ASSIGN_OBJ_REF without RC inference

Previously, this variable was necessary because of auto-vivification on
UNDEF/null/false. It's now only used for RC inference, a

Avoid new SSA var for ASSIGN_OBJ_REF without RC inference

Previously, this variable was necessary because of auto-vivification on
UNDEF/null/false. It's now only used for RC inference, as auto-vivification has
been removed.

This implicitly solves an inference problem for $obj->bar &= $obj; where we get
a new variable for both literal references to $obj, with the first one getting
the RCn flag, and the second one getting the MAY_BE_REFERENCE flag. Thus, the
first variable will be missing the reference type, causing a false-positive type
inference warning.

If we want to verify RC inference at some point we'll need a better solution.

Closes GH-13233

show more ...

7040e8ee23-Jan-2024 Ilija Tovilo

[skip ci] Use _exit for type inference verification

Otherwise we get useless leak warnings when building with asan.

0a16239423-Jan-2024 Jorg Adam Sowa

Enable xdebug extension again on nightly (#13192)

c6a2f2a823-Jan-2024 Ilija Tovilo

[skip ci] Disable pecl redis build

ea8d143a23-Jan-2024 Ilija Tovilo

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
[skip ci] Fix 64-bit only test


5da8335123-Jan-2024 tekimen

Fix "warning: conflicting types for ‘zend_multibyte_set_script_encoding’ due to enum/integer mismatch;" (#13227)

d0d5655123-Jan-2024 Ilija Tovilo

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix dumping of zend_string.val in gdb


0d54b53423-Jan-2024 Ilija Tovilo

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix dumping of zend_string.val in gdb


2c4534a522-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-12504: Corrupted session written when there's a fatal error in autoloader


d50393e222-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-12504: Corrupted session written when there's a fatal error in autoloader


513224cf10-Jan-2024 ju1ius

prevents using resource as a zend_type

Closes #13102

a96cc80b22-Jan-2024 Kamil Tekiela

Fix PDO unit test description

0becd48522-Jan-2024 Dmitry Stogov

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-12481: PHP crash with JIT enabled


987417e222-Jan-2024 Derick Rethans

Remove ext/imap — it has been moved to PECL (#13190)

* Remove ext/imap — it has been moved to PECL

https://pecl.php.net/package/imap

* Remove files related to IMAP

Remove ext/imap — it has been moved to PECL (#13190)

* Remove ext/imap — it has been moved to PECL

https://pecl.php.net/package/imap

* Remove files related to IMAP

* Remove IMAP CI files and set up

* Also disable IMAP on Circle CI

* Update CREDITS file

* Remove IMAP entry from CODEOWNERS

* Revert "Remove files related to IMAP"

This reverts commit a05ffd6c973001f9c3540dbf04b3a9f9797f3acc.

* Mark IMAP is being removed

* Revert "Remove IMAP CI files and set up"

This reverts commit 82e5ba991044222c5c90c7c53ca0adcf3bde3359.

* Revert "Also disable IMAP on Circle CI"

This reverts commit e83827b0b23805ae2571241e472e433b9dc7539f.

* Don't try to build imap extension with CI

* Restore test setup files

* Remove mention of imap in labeler, EXTENSIONS, and sample php.ini files

show more ...


.circleci/config.yml
.github/actions/configure-x64/action.yml
.github/labeler.yml
CODEOWNERS
EXTENSIONS
UPGRADING
ext/imap/CREDITS
ext/imap/config.m4
ext/imap/config.w32
ext/imap/php_imap.c
ext/imap/php_imap.h
ext/imap/php_imap.stub.php
ext/imap/php_imap_arginfo.h
ext/imap/tests/README.md
ext/imap/tests/bug31142_1.phpt
ext/imap/tests/bug31142_2.phpt
ext/imap/tests/bug32589.phpt
ext/imap/tests/bug35669.phpt
ext/imap/tests/bug40854.phpt
ext/imap/tests/bug44098.phpt
ext/imap/tests/bug45705_1.phpt
ext/imap/tests/bug45705_2.phpt
ext/imap/tests/bug46918.phpt
ext/imap/tests/bug53377.phpt
ext/imap/tests/bug63126.phpt
ext/imap/tests/bug64076.phpt
ext/imap/tests/bug75774.phpt
ext/imap/tests/bug77020.phpt
ext/imap/tests/bug77153.phpt
ext/imap/tests/bug80213.phpt
ext/imap/tests/bug80215.phpt
ext/imap/tests/bug80216.phpt
ext/imap/tests/bug80220.phpt
ext/imap/tests/bug80223.phpt
ext/imap/tests/bug80226.phpt
ext/imap/tests/bug80242.phpt
ext/imap/tests/bug80438.phpt
ext/imap/tests/bug80710_1.phpt
ext/imap/tests/bug80710_2.phpt
ext/imap/tests/bug80800.phpt
ext/imap/tests/gh9309.phpt
ext/imap/tests/imap_8bit_basic.phpt
ext/imap/tests/imap_append_basic.phpt
ext/imap/tests/imap_base64_basic.phpt
ext/imap/tests/imap_binary_basic.phpt
ext/imap/tests/imap_body_basic.phpt
ext/imap/tests/imap_body_errors.phpt
ext/imap/tests/imap_body_uid.phpt
ext/imap/tests/imap_bodystruct_basic.phpt
ext/imap/tests/imap_clearflag_full_basic.phpt
ext/imap/tests/imap_clearflag_full_uid.phpt
ext/imap/tests/imap_close_basic.phpt
ext/imap/tests/imap_close_variation4.phpt
ext/imap/tests/imap_constructor.phpt
ext/imap/tests/imap_createmailbox_basic.phpt
ext/imap/tests/imap_delete_uid.phpt
ext/imap/tests/imap_errors_basic.phpt
ext/imap/tests/imap_fetch_overview_basic.phpt
ext/imap/tests/imap_fetch_overview_uid.phpt
ext/imap/tests/imap_fetch_overview_variation5.phpt
ext/imap/tests/imap_fetch_overview_variation6.phpt
ext/imap/tests/imap_fetchbody_basic.phpt
ext/imap/tests/imap_fetchbody_errors.phpt
ext/imap/tests/imap_fetchbody_uid.phpt
ext/imap/tests/imap_fetchbody_variation6.phpt
ext/imap/tests/imap_fetchheader_basic.phpt
ext/imap/tests/imap_fetchheader_errors.phpt
ext/imap/tests/imap_fetchheader_uid.phpt
ext/imap/tests/imap_fetchheader_variation5.phpt
ext/imap/tests/imap_fetchmime_errors.phpt
ext/imap/tests/imap_fetchmime_uid.phpt
ext/imap/tests/imap_fetchstructure_basic.phpt
ext/imap/tests/imap_fetchstructure_errors.phpt
ext/imap/tests/imap_fetchstructure_uid.phpt
ext/imap/tests/imap_final.phpt
ext/imap/tests/imap_gc_error.phpt
ext/imap/tests/imap_getsubscribed_basic.phpt
ext/imap/tests/imap_headerinfo_basic.phpt
ext/imap/tests/imap_is_open.phpt
ext/imap/tests/imap_list_basic.phpt
ext/imap/tests/imap_lsub_basic.phpt
ext/imap/tests/imap_mail_copy_basic.phpt
ext/imap/tests/imap_mail_move_basic.phpt
ext/imap/tests/imap_mutf7_to_utf8.phpt
ext/imap/tests/imap_open_error.phpt
ext/imap/tests/imap_open_with_cl_expunge.phpt
ext/imap/tests/imap_renamemailbox_basic.phpt
ext/imap/tests/imap_reopen_with_cl_expunge.phpt
ext/imap/tests/imap_rfc822_parse_headers_basic.phpt
ext/imap/tests/imap_rfc822_write_address_basic.phpt
ext/imap/tests/imap_savebody_basic.phpt
ext/imap/tests/imap_savebody_errors.phpt
ext/imap/tests/imap_savebody_uid.phpt
ext/imap/tests/imap_search_basic.phpt
ext/imap/tests/imap_setflag_full_basic.phpt
ext/imap/tests/imap_setflag_full_uid.phpt
ext/imap/tests/imap_sort_uid.phpt
ext/imap/tests/imap_timeout_basic.phpt
ext/imap/tests/imap_undelete_basic.phpt
ext/imap/tests/imap_undelete_uid.phpt
ext/imap/tests/imap_utf8.phpt
ext/imap/tests/imap_utf8_to_mutf7_basic.phpt
ext/imap/tests/nil_constant.phpt
ext/standard/credits_ext.h
php.ini-development
php.ini-production
8ce4d24022-Jan-2024 Remi Collet

Merge branch 'PHP-8.3'

* PHP-8.3:
NEWS
NEWS
Fix GH-13215 GCC 14 build


12345678910>>...4423