#
d4a9cc88 |
| 21-Jul-2022 |
Ilija Tovilo |
Fix rc info of iterator_to_array (#9080) This function can now return a copy of the provided array, resulting in a value of RC != 1.
|
#
7ae7df5b |
| 19-Jul-2022 |
Tim Düsterhus |
RFC: Make the `iterator_*()` family accept all `iterable`s (#8819) https://wiki.php.net/rfc/iterator_xyz_accept_array
|
#
8e6e9838 |
| 30-Aug-2021 |
Máté Kocsis |
Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)
|
#
bdfe0ab5 |
| 24-Aug-2021 |
Máté Kocsis |
Generate Zend, ext/spl and ext/json optimizer func info from stubs Closes GH-7397
|
#
4f4c031f |
| 18-Feb-2021 |
Máté Kocsis |
Generate ext/spl class entries from stubs Closes GH-6709
|
#
68195bd4 |
| 06-Oct-2020 |
Nikita Popov |
Update ext/spl parameter names Closes GH-6284.
|
#
6ba24e96 |
| 02-Aug-2020 |
Máté Kocsis |
Improve a few parameter names in ext/spl Use the same names which are used by zend functions.
|
#
94df2f69 |
| 10-Jun-2020 |
Nikita Popov |
Fix bug #65006 The "callable name" may be the same for multiple distinct callables. The code already worked around this for the case of instance methods, but there are other cases in
Fix bug #65006 The "callable name" may be the same for multiple distinct callables. The code already worked around this for the case of instance methods, but there are other cases in which callable names clash, such as the use of self:: reported in the referenced bug. Rather than trying to generate a unique name for callables, compare the content of the alfi structures. This is less efficient if there are many autoload functions, but autoload *registration* does not need to be particularly efficient. As a side-effect, this no longer permits unregistering non-callables.
show more ...
|
#
5b59d491 |
| 09-Jun-2020 |
Nikita Popov |
Cleanup SPL autoload implementation Replace EG(autoload_func) with a C level zend_autoload hook. This avoids having to do one indirection through PHP function calls. The need for EG(
Cleanup SPL autoload implementation Replace EG(autoload_func) with a C level zend_autoload hook. This avoids having to do one indirection through PHP function calls. The need for EG(autoload_func) was a leftover from the __autoload() implementation. Additionally, drop special-casing of spl_autoload(), and instead register it just like any other autoloading function. This fixes bug #71236 as a side-effect. Finally, change spl_autoload_functions() to always return an array. The distinction between false and an empty array no longer makes sense here. Closes GH-5696.
show more ...
|
#
2302b14a |
| 26-Mar-2020 |
George Peter Banyard |
Use ZPP callable check for spl_autoload_register. This makes it always throw a TypeError, moreover this makes the error message consistent. Added a warning mentioning that the s
Use ZPP callable check for spl_autoload_register. This makes it always throw a TypeError, moreover this makes the error message consistent. Added a warning mentioning that the second parameter is now ignored when passed false. Closes GH-5301
show more ...
|
#
650da66e |
| 03-May-2020 |
Máté Kocsis |
Fix UNKNOWN default values in ext/spl
|
#
d7f7080b |
| 25-Apr-2020 |
Máté Kocsis |
Generate methods entries from stubs for ext/spl Closes GH-5458
|
#
c10f30fd |
| 09-Apr-2020 |
Nikita Popov |
Mark spl_autoload_register function arg as UNKNOWN Not passing any parameters to this function has magic behavior.
|
#
d2b902f1 |
| 06-Mar-2020 |
Máté Kocsis |
Add some stubs for SPL Closes GH-5245
|
#
1695d3ed |
| 05-Dec-2019 |
Tyson Andre |
Add funcinfo for spl global functions This assumes that `iterator_*` will now always throw or abort on failure. Also, move #include _arginfo.h directive to the top of the file - vir
Add funcinfo for spl global functions This assumes that `iterator_*` will now always throw or abort on failure. Also, move #include _arginfo.h directive to the top of the file - virtually all other files put it there, and developers may base code on basic_functions.c. Closes GH-4968
show more ...
|