History log of /PHP-8.2/Zend/Optimizer/zend_func_info.c (Results 1 – 25 of 60)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 6bf40413 02-Nov-2023 Dmitry Stogov

Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591)

* Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag

This fixes GH-12527

Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591)

* Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag

This fixes GH-12527

* typo

show more ...

# 701e10c3 15-Apr-2022 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Don't set ce for by-ref return type


# b0ab5d0f 15-Apr-2022 Nikita Popov

Don't set ce for by-ref return type

For the case where we upgrade a prototype to a possible by-ref
return from an inheriting method.

# 3be34c3b 22-Feb-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix GH-8074: Wrong type inference of range() result


# 7ea3b193 22-Feb-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8074: Wrong type inference of range() result


# 9ecec661 11-Oct-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Preserve key/value type invariant in range() type inference


# f0cf9992 11-Oct-2021 Nikita Popov

Preserve key/value type invariant in range() type inference

Don't set PACKED key type if no value type is set.

Fixes oss-fuzz 6718410667458560.

# c84c07e2 06-Oct-2021 Dmitry Stogov

Merge branch 'PHP-8.1'

* PHP-8.1:
Fixed type inference that may cause JIT failure


# 0b5d62e3 06-Oct-2021 Dmitry Stogov

Fixed type inference that may cause JIT failure

PHP allows to override a method that returns non-reference with a method
that returns a reference. This mean that we cannot use prototypes

Fixed type inference that may cause JIT failure

PHP allows to override a method that returns non-reference with a method
that returns a reference. This mean that we cannot use prototypes to
predict return types of a child functions.

show more ...

# 2067388f 21-Sep-2021 Nikita Popov

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix range() return type inference for undef operand


# a846547e 21-Sep-2021 Nikita Popov

Fix range() return type inference for undef operand

This results in a long range.

# 53d5420d 20-Sep-2021 George Peter Banyard

Use more appropriate types in Optimizer

Mainly using zend_result and bool instead of int

# 9b170a41 31-Aug-2021 Nikita Popov

Mark private function as static

# c19e4b99 30-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 3 (#7426)

# 8e6e9838 30-Aug-2021 Máté Kocsis

Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)

# b49d340f 27-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 2 (#7414)

# 3f0b5863 27-Aug-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix a few func info


# 51a504c8 27-Aug-2021 Nikita Popov

Avoid string copy in get_cfg_var()

basic_functions.c already has a macro for returning an ini
value to userland, so make use of it for get_cfg_var() as well,
after generalizing it to

Avoid string copy in get_cfg_var()

basic_functions.c already has a macro for returning an ini
value to userland, so make use of it for get_cfg_var() as well,
after generalizing it to not write to return_value in particular.

show more ...

# 1ce81b6b 27-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/standard - part 1 (#7413)

# 8712fb5f 27-Aug-2021 Máté Kocsis

Merge branch 'PHP-8.0'

* PHP-8.0:
Fix func info for str_replace() and str_ireplace()


# 7157a2a9 27-Aug-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
Remove incorrect refcount info for addcslashes()


# fdc60829 26-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for various extensions (#7409)

ext/hash, ext/iconv, ext/mbstring, ext/xml, ext/zlib

# 68946bdd 26-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/gd and ext/pgsql (#7408)

# 17ccabc6 26-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/curl, ext/mysqli, ext/pcre (#7407)

# 6e1bedea 26-Aug-2021 Nikita Popov

Merge branch 'PHP-8.0'

* PHP-8.0:
imagecolorsforindex() cannot return false


123