History log of /php-src/ext/spl/spl_iterators.c (Results 51 – 75 of 504)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1
# 063fdd94 12-Sep-2020 George Peter Banyard

Use ValueError instead of exceptions in SPL extension

# b6207338 11-Sep-2020 George Peter Banyard

Use normal error in SPL for uninitialized objects

# 9affbef0 11-Sep-2020 George Peter Banyard

Use normal error in SPL for 'An iterator cannot be used with foreach by reference'

# 61c299fe 03-Sep-2020 George Peter Banyard

Error promotions in SPL

Warning to Error promotion and a Notice to Warning promotion to align
with the behaviour specified in the Reclassify Engine Warnings RFC.

Closes GH-6072

Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1
# 0a439fa9 14-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Add missing initialization check to RegexIterator::getRegex()


# a0c231c0 14-Aug-2020 Nikita Popov

Add missing initialization check to RegexIterator::getRegex()

# 7991fc27 07-Aug-2020 Nikita Popov

Accept zend_object in zend_read_property

Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21
# dc30e1d8 23-Jul-2020 Nikita Popov

Cleanup SPL instantiation code

# e6ae1bf4 22-Jul-2020 Nikita Popov

Check dual_it validity in CallbackFilterIterator::accept()

Avoid accessing intern->u.cbfilter null pointer, though it's
harmless here.

Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1
# 9d2af910 17-Jul-2020 Nikita Popov

Only set DIT type on successful initialization

# 954244b3 17-Jul-2020 Nikita Popov

Convert SPL fatal error to Error exception

Revision tags: 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, php-7.4.7, php-7.3.19
# d30cd7d7 26-May-2020 Máté Kocsis

Review the usage of apostrophes in error messages

Closes GH-5590

# 302933da 07-Jul-2020 Nikita Popov

Remove no_separation flag

# df8119d3 07-Jul-2020 Nikita Popov

Don't allow separation in CallbackFilterIterator

As the name might suggest, this is a *filter* iterator. If you want
to have a *map* iterator, write one, or use a generator.

# 2b5de6f8 01-Jul-2020 Max Semenik

Remove proto comments from C files

Closes GH-5758

# 312201dc 01-Jul-2020 Nikita Popov

Add get_gc handle for object iterators

Optional handler with the same semantics as the object handler.

# f37138d2 25-Jun-2020 Nikita Popov

Don't use iterator_funcs_ptr if it is null

This avoids ubsan warnings. Alternatively we could always initialize
iterator_funcs_ptr for aggregates, instead of doing so only for
non-in

Don't use iterator_funcs_ptr if it is null

This avoids ubsan warnings. Alternatively we could always initialize
iterator_funcs_ptr for aggregates, instead of doing so only for
non-internal ones.

show more ...

# 15846ff1 17-Jun-2020 Nikita Popov

Add ZVAL_OBJ_COPY macro

For the common ZVAL_OBJ + GC_ADDREF pattern.
This mirrors the existing ZVAL_STR_COPY API.

Revision tags: php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31
# 533669f7 29-Apr-2020 Nikita Popov

Remove redundant addref+dtor

Revision tags: php-7.4.6RC1, php-7.3.18RC1
# d7f7080b 25-Apr-2020 Máté Kocsis

Generate methods entries from stubs for ext/spl

Closes GH-5458

Revision tags: php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1
# a42e8e8e 22-Mar-2020 Máté Kocsis

Add stubs for SPL iterators

Closes GH-5286

# 816a1fd4 23-Mar-2020 Nikita Popov

Don't use quiet zpp in RecursiveIteratorIterator ctor

Don't be a special snowflake, generate a standard TypeError here.

Revision tags: php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28, php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14
# 9e775db0 13-Jan-2020 Nicolas Grekas

Define Stringable with __toString():string method

# 68112224 20-Jan-2020 Nikita Popov

Eliminate uses of ZVAL_ZVAL and friends

Instead add RETURN_COPY(_VALUE) macros will the expected behavior.

RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around,

Eliminate uses of ZVAL_ZVAL and friends

Instead add RETURN_COPY(_VALUE) macros will the expected behavior.

RETURN_ZVAL doesn't make any sense since PHP 7, but has stuck
around, probably because the alternative was to write directly to
the return_value variable.

show more ...

Revision tags: php-7.3.14RC1, php-7.4.2RC1
# aadd3aae 03-Jan-2020 Máté Kocsis

Use RETURN_THROWS() in various places

12345678910>>...21