#
db545767 |
| 10-Sep-2024 |
DanielEScherzer |
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since this known string was only added in PHP 8.4, no backwards compatibility alias is needed.
show more ...
|
#
a79c70f5 |
| 14-Aug-2024 |
Gina Peter Banyard |
[RFC] Convert exit (and die) from language constructs to functions (#13483) RFC: https://wiki.php.net/rfc/exit-as-function
|
#
780a8280 |
| 14-Jul-2024 |
Ilija Tovilo |
[RFC] Property hooks (#13455) RFC: https://wiki.php.net/rfc/property-hooks Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
#
72c87469 |
| 02-Jul-2024 |
Benjamin Eberlei |
RFC: Add `#[\Deprecated]` Attribute (#11293) see https://wiki.php.net/rfc/deprecated_attribute Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com> Co-authored-by: Ilija Tovilo
RFC: Add `#[\Deprecated]` Attribute (#11293) see https://wiki.php.net/rfc/deprecated_attribute Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com> Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
show more ...
|
#
f5e450d1 |
| 06-May-2024 |
twosee |
Fix zend_string_starts_with_literal_ci (#14137)
|
#
5c3a6eae |
| 11-Sep-2023 |
George Peter Banyard |
Zend: Remove dependency on zend.h for certain headers (#12166)
|
#
a342138e |
| 05-Jul-2023 |
George Peter Banyard |
Revert "Use binary safe case compare in new zend_string API" This reverts commit eb5cc1372cf8c6ffda987cc7bc847ed3d9276af9. A) I'm using the function incorectly B) Somehow the fu
Revert "Use binary safe case compare in new zend_string API" This reverts commit eb5cc1372cf8c6ffda987cc7bc847ed3d9276af9. A) I'm using the function incorectly B) Somehow the function is undefined although it's used in other zend_string APIs
show more ...
|
#
eb5cc137 |
| 05-Jul-2023 |
George Peter Banyard |
Use binary safe case compare in new zend_string API
|
#
b9af9809 |
| 10-Apr-2023 |
George Peter Banyard |
Add case insensitive versions of the zend_string_starts_with_* APIs (#11032)
|
#
61b19ba3 |
| 04-Apr-2023 |
Dmitry Stogov |
Revert "Zend/zend_types.h: move `zend_uchar.h` to `zend_char.h`" This reverts commit 42577c6b6b7577c57c161ee4a74cb193382bf1e0.
|
#
ac3abe45 |
| 04-Apr-2023 |
Dmitry Stogov |
Revert "Zend/zend_types.h: move `zend_string` to `zend_string.h`" This reverts commit 02690fe3c0c35655bc40844780eba0c283a37a2f.
|
#
b5726c2c |
| 17-Mar-2023 |
Ilija Tovilo |
Fix NUL byte in exception string terminating Exception::__toString() Fixes GH-10810 Closes GH-10873
|
#
02690fe3 |
| 13-Jan-2023 |
Max Kellermann |
Zend/zend_types.h: move `zend_string` to `zend_string.h` It is now possible to include only `zend_string.h` without `zend_types.h`.
|
#
42577c6b |
| 13-Jan-2023 |
Max Kellermann |
Zend/zend_types.h: move `zend_uchar.h` to `zend_char.h` Prepare to fix the cyclic header dependency from `zend_string.h`.
|
#
99b86141 |
| 02-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Introduce convenience macros for copying flags that hold when concatenating two strings This abstracts away, and cleans up, the flag handling for properties of strings that hold when con
Introduce convenience macros for copying flags that hold when concatenating two strings This abstracts away, and cleans up, the flag handling for properties of strings that hold when concatenating two strings if they both hold that property. (These macros also work with simply copies of strings because a copy of a string can be considered a concatenation with the empty string.) This gets rid of some branches and some repetitive code, and leaves room for adding more flags like these in the future.
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3 |
|
#
9e097822 |
| 04-Aug-2022 |
Ilija Tovilo |
Fix lineno for all constant expressions Fixes GH-8821 Closes GH-8855
|
#
0b9fb636 |
| 27-Jan-2023 |
George Peter Banyard |
Add macro to check zend_string is marked as valid UTF-8
|
#
2d3427c5 |
| 16-Jan-2023 |
Christoph M. Becker |
Revert "#include cleanup (#10216)" Cf. <https://github.com/php/php-src/pull/10220#issuecomment-1383739816>. This reverts commit e628c66f9d4173e585081ddef358505433f9a288.
|
#
0f4d37d0 |
| 04-Jan-2023 |
Levi Morrison |
Enforce literals in certain macros (#10111) These macros are designed only for literals. This is a standards compliant trick to ensure they are literals. For example, these are
Enforce literals in certain macros (#10111) These macros are designed only for literals. This is a standards compliant trick to ensure they are literals. For example, these are the same: "Hello" " world" "Hello world"
show more ...
|
#
e628c66f |
| 04-Jan-2023 |
Max Kellermann |
#include cleanup (#10216) Shift header include In the C file, include the header first so missing #includes are detected by the compiler, and use lighter header dependencies in
#include cleanup (#10216) Shift header include In the C file, include the header first so missing #includes are detected by the compiler, and use lighter header dependencies in the header, to speed up compile times.
show more ...
|
Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
55a88f36 |
| 13-Jul-2022 |
Remi Collet |
add SensitiveParameter as known string and use it in arginfo |
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
0ae6a675 |
| 12-Jun-2022 |
George Peter Banyard |
Add true as a type (#8326) RFC: https://wiki.php.net/rfc/true-type |
Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1 |
|
#
b40ae808 |
| 07-Jun-2022 |
George Peter Banyard |
Convert iterable into an internal alias for Traversable|array (#7309) This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP vari
Convert iterable into an internal alias for Traversable|array (#7309) This does a compile time transformation of ``iterable`` into ``Traversable|array`` which simplifies some of the LSP variance handling. The arginfo generation script from stubs is updated to produce a union type when it encounters the type ``iterable`` Extension functions which do not regenerate the arginfo, or write them manually are still supported by mimicking the compile time transformation while registering the function. Type Reflection is preserved for single ``iterable`` (and ``?iterable``) to produce a ReflectionNamedType with name ``iterable``, however usage of ``iterable`` in union types will be converted to ``array|Traversable``
show more ...
|
Revision tags: php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1 |
|
#
c2547ab7 |
| 20-Apr-2022 |
George Peter Banyard |
Add some const qualifiers in zend_string/hash (#8304) Co-authored-by: Levi Morrison <morrison.levi@gmail.com> |
Revision tags: php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1 |
|
#
b9e895bc |
| 31-Mar-2022 |
Max Kellermann |
Replace memcmp() with zend_string functions (#8216) * ext/oci8: use zend_string_equals() Eliminate duplicate code. * main/php_variables: use zend_string_equals_literal()
Replace memcmp() with zend_string functions (#8216) * ext/oci8: use zend_string_equals() Eliminate duplicate code. * main/php_variables: use zend_string_equals_literal() Eliminate duplicate code. * Zend/zend_string: add zend_string_equals_cstr() Allows eliminating duplicate code. * Zend, ext/{opcache,standard}, main/output: use zend_string_equals_cstr() Eliminate duplicate code. * Zend/zend_string: add zend_string_starts_with() * ext/{opcache,phar,spl,standard}: use zend_string_starts_with() This adds missing length checks to several callers, e.g. in cache_script_in_shared_memory(). This is important when the zend_string is shorter than the string parameter, when memcmp() happens to check backwards; this can result in an out-of-bounds memory access.
show more ...
|