#
4c5767f6 |
| 16-Aug-2024 |
Juliette <663378+jrfnl@users.noreply.github.com> |
PHP 8.4 | Exit as function: fix incorrect parameter name (#15433) Follow up on 13483 As previously reported in https://github.com/php/php-src/pull/13483#discussion_r1718546927:
PHP 8.4 | Exit as function: fix incorrect parameter name (#15433) Follow up on 13483 As previously reported in https://github.com/php/php-src/pull/13483#discussion_r1718546927: > The parameter names seem to be incorrect. > > It should be `$status`, not `$code`. > > The RFC explicitly uses that parameter name in the proposal: https://wiki.php.net/rfc/exit-as-function#proposal > > It is also the name already used in the [manual](https://www.php.net/exit). > > Lastly, the parameter name `$status` better covers what can be passed: either a status _message_ or a status _code_. > While `$code` would read pretty weird when passing a message: > ```php > exit(code: 'message'); > ``` This commit attempts to fix this. Includes adding a test for exit/die using a named argument. Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
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
|
#
631bc816 |
| 06-Feb-2024 |
Ilija Tovilo |
Implement stackless internal function calls Co-authored-by: Dmitry Stogov <dmitry@zend.com> Closes GH-12461
|
#
dcd2a0dd |
| 17-Jan-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Make return type of trigger_error() and user_error() true (#13169)
|
#
1c76da62 |
| 17-Jul-2023 |
Ilija Tovilo |
Fix gc_status type info Closes GH-11722
|
#
b8811d4f |
| 04-Oct-2022 |
Tim Starling |
Add four extra fields to gc_status() (#9336) - running: true if garbage collection is currently running - protected: true if the garbage collector is protected and root additions a
Add four extra fields to gc_status() (#9336) - running: true if garbage collection is currently running - protected: true if the garbage collector is protected and root additions are forbidden - full: true if the garbage collector buffer size exceeds GC_MAX_BUF_SIZE - buffer_size: current garbage collector buffer size Documentation for existing fields: - runs: the number of times the garbage collector has been run - collected: the number of objects collected - threshold: the number of roots in the buffer which will trigger garbage collection - roots: the current number of roots in the buffer Updated manual example output: array(8) { ["running"]=> bool(false) ["protected"]=> bool(false) ["full"]=> bool(false) ["runs"]=> int(5) ["collected"]=> int(100002) ["threshold"]=> int(50001) ["buffer_size"]=> int(131072) ["roots"]=> int(0) }
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, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
ff472ce6 |
| 21-Jun-2022 |
Tim Düsterhus |
Support the `#[\AllowDynamicProperties]` attribute in stubs (#8776) * Support the `#[\AllowDynamicProperties]` attribute in stubs * Use `#[\AllowDynamicProperties]` attribute in stu
Support the `#[\AllowDynamicProperties]` attribute in stubs (#8776) * Support the `#[\AllowDynamicProperties]` attribute in stubs * Use `#[\AllowDynamicProperties]` attribute in stubs * Disallow applying both `@strict-properties` and `#[\AllowDynamicProperties]`
show more ...
|
#
49d3dde2 |
| 18-Jun-2022 |
Máté Kocsis |
Declare true return types (#8759) |
Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1, 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, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1 |
|
#
32e2d97a |
| 20-Dec-2021 |
Tyson Andre |
Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780) https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer depend
Allow internal functions to declare if they support compile-time evaluation, add functions. (#7780) https://wiki.php.net/rfc/strtolower-ascii means that these functions no longer depend on the current locale in php 8.2. Before that, this was unsafe to evaluate at compile time. Followup to GH-7506 Add strcmp/strcasecmp/strtolower/strtoupper functions Add bin2hex/hex2bin and related functions Update test of garbage collection using strtolower to use something else to create a refcounted string
show more ...
|
Revision tags: php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1 |
|
#
8e6e9838 |
| 30-Aug-2021 |
Máté Kocsis |
Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416) |
#
4a7a4147 |
| 24-Aug-2021 |
Máté Kocsis |
Fix callable and iterable handling |
#
bdfe0ab5 |
| 24-Aug-2021 |
Máté Kocsis |
Generate Zend, ext/spl and ext/json optimizer func info from stubs Closes GH-7397 |
Revision tags: php-7.4.23, php-8.0.10 |
|
#
b1822899 |
| 24-Aug-2021 |
Máté Kocsis |
Add support for generating optimizer function info from stubs (#7367) |
Revision tags: php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1 |
|
#
339ce943 |
| 14-Jul-2021 |
Máté Kocsis |
Declare the $value param of define() as mixed |
Revision tags: php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1 |
|
#
27ce269c |
| 08-Jun-2021 |
Joe Watkins |
Revert "Fix bug #24214 implement access to skip_last in user API for backtrace" This reverts commit a5cef84de8473088ad549e3724127c81b907c49d. |
Revision tags: php-8.0.7, php-7.4.20 |
|
#
a5cef84d |
| 26-May-2021 |
Joe Watkins |
Fix bug #24214 implement access to skip_last in user API for backtrace |
Revision tags: php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1 |
|
#
269c8dac |
| 10-Jun-2020 |
Ilija Tovilo |
Implement enums RFC: https://wiki.php.net/rfc/enumerations Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6489. |
#
4c6533c2 |
| 17-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for com, standard, xmlreader, xmlwriter, xsl, zip, Zend Closes GH-6706 |
#
6ce70447 |
| 12-Feb-2021 |
Máté Kocsis |
Generate zend class entries based on stubs Closes GH-6685 |
#
40ebfd67 |
| 17-Nov-2020 |
Máté Kocsis |
Remove some incorrect mixed parameter types |
#
7aa2d351 |
| 28-Sep-2020 |
Máté Kocsis |
Zend parameter renames amendment Closes GH-6228 |
#
12d087c3 |
| 22-Sep-2020 |
Nikita Popov |
Use C zpp for get_class_vars() |
#
0d330e1a |
| 28-Jul-2020 |
Máté Kocsis |
Add a few missing parameter types in stubs Related to GH-5627 |
#
5770b667 |
| 12-Jul-2020 |
Máté Kocsis |
Cleanup argument handling of Zend functions and methods Closes GH-5847 |
#
7ac9e9bf |
| 08-Jul-2020 |
George Peter Banyard |
Use ZPP callable check in zend built in functions |