#
6d805ed2 |
| 13-Jul-2021 |
Máté Kocsis |
Declare tentative return types for ext/spl - part 2 Closes GH-7235
|
#
805471e8 |
| 08-Jun-2021 |
Nikita Popov |
Fix bug #81112: Implement JsonSerializable for SplFixedArray This returns an array for SplFixedArray JSON encoding, which is more appropriate than an object with integer string keys.
Fix bug #81112: Implement JsonSerializable for SplFixedArray This returns an array for SplFixedArray JSON encoding, which is more appropriate than an object with integer string keys. Closes GH-7117.
show more ...
|
#
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.
|
#
9428e161 |
| 24-Sep-2020 |
Nikita Popov |
Add option to print parameter name stats to gen_stub
|
#
4222ae16 |
| 11-May-2020 |
Alex Dowad |
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the ite
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the iteration state of the outer loop. To illustrate: $spl = SplFixedArray::fromArray([0, 1]); foreach ($spl as $a) { foreach ($spl as $b) { echo "$a $b"; } } Would only print two lines: 0 0 0 1 Use the new InternalIterator feature which was introduced in ff19ec2df3 to convert SplFixedArray to an Aggregate rather than Iterable. As a bonus, we get to trim down some ugly code! Yay!
show more ...
|
#
f7fbc633 |
| 14-Aug-2020 |
Máté Kocsis |
Add more precise type info for stubs Closes GH-6005
|
#
c9b9f525 |
| 19-Jun-2020 |
Nikita Popov |
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necess
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
show more ...
|
#
d7f7080b |
| 25-Apr-2020 |
Máté Kocsis |
Generate methods entries from stubs for ext/spl Closes GH-5458
|
#
3709e74b |
| 06-Apr-2020 |
Máté Kocsis |
Store default parameter values of internal functions in arg info Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal function
Store default parameter values of internal functions in arg info Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
d2b902f1 |
| 06-Mar-2020 |
Máté Kocsis |
Add some stubs for SPL Closes GH-5245
|