History log of /PHP-8.0/ext/opcache/Optimizer/zend_func_info.c (Results 76 – 100 of 227)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6f924835 15-Nov-2019 Máté Kocsis

Throw an exception when an invalid comparison operator is passed to version_compare()


# 29ef0772 17-Nov-2019 Máté Kocsis

Remove magic quotes legacy


# 144b41ce 17-Nov-2019 Máté Kocsis

Remove money_format() function


# 64468d1e 17-Nov-2019 Máté Kocsis

Remove convert_cyr_string() function


# b63c6252 17-Nov-2019 Máté Kocsis

Remove hebrevc() function


# 616ec2dd 05-Dec-2019 Tyson Andre

Update/fix remaining opcache zend_func_info.c signatures

See UPGRADING:

> . The GD extension now uses objects as the underlying data structure for
> images, rather than resour

Update/fix remaining opcache zend_func_info.c signatures

See UPGRADING:

> . The GD extension now uses objects as the underlying data structure for
> images, rather than resources. These objects are completely opaque, i.e.
> they don't have any methods.

Remove types which are no longer in Reflection due to throwing instead of
emitting warnings.
Remove entries where reference counts are 0 and types are duplicated.

Closes GH-4967.

show more ...


# 96d2b696 04-Dec-2019 Tyson Andre

Remove opcache signatures duplicating reflection

None of these are refcounted.


# 1142f0c4 04-Dec-2019 Tyson Andre

Make more opcache signatures consistent with reflection


# 0dbc24c3 01-Dec-2019 Tyson Andre

Fix other incorrect opcache types

Closes GH-4959.


# 5624d2eb 01-Dec-2019 Tyson Andre

Make some opcache types consistent with reflection information

Remove functions such as filter_id() where reference counts and types are
identical to what's in opcache.

Remove n

Make some opcache types consistent with reflection information

Remove functions such as filter_id() where reference counts and types are
identical to what's in opcache.

Remove null types from zend_func_info.c that aren't in Reflection
(php would throw now)

Fix the Reflection type information for assert_options()

php > assert_options(ASSERT_CALLBACK, static function() {});
php > var_export(assert_options(ASSERT_CALLBACK));
Closure::__set_state(array(
))

Closes GH-4958.

show more ...


# c8e9aa85 30-Nov-2019 Tyson Andre

Fix print_r return types in opcache

https://www.php.net/print_r

> When the return parameter is TRUE, this function will return a string.
> Otherwise, the return value is TRUE.


# bb41a1b7 15-Nov-2019 Nikita Popov

Fix str_pad rc info

This fixes at least part of bug #78811.


Revision tags: php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5
# 52499938 25-Oct-2019 Nikita Popov

Fixed bug #78747


Revision tags: php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# 2068ce9a 11-Oct-2019 Dmitry Stogov

Use RT_CONSTANT() or CT_CONSTANT() macro depending on ZEND_ACC_DONE_PASS_TWO flag


Revision tags: php-7.3.11RC1, php-7.2.24RC1
# fdc13306 07-Oct-2019 Nikita Popov

Convert count_chars invalid mode error to ValueError


# dd61edfd 06-Oct-2019 Tyson Andre

Update opcache return type info for gd functions

Many of these now have reflection types,
making the old signatures redundant or inaccurate.
(Some methods also throw Errors instead o

Update opcache return type info for gd functions

Many of these now have reflection types,
making the old signatures redundant or inaccurate.
(Some methods also throw Errors instead of returning null/false)

Closes GH-4785.

show more ...


# 02f20568 06-Oct-2019 Tyson Andre

Update zend_func_info for pcre/curl/iconv/json

preg_quote and curl_error now have a non-null return type of `string`.

zend_func_info now duplicates many real reflection types
(s

Update zend_func_info for pcre/curl/iconv/json

preg_quote and curl_error now have a non-null return type of `string`.

zend_func_info now duplicates many real reflection types
(some of which are now non-null)

Closes GH-4788.

show more ...


# 52dfe873 06-Oct-2019 Tyson Andre

Remove redundant zend_func_info for zlib/hash/session

E.g. hash_equals is outdated - it has a non-null reflection type of bool.

Remove redundant signatures for types that are obviou

Remove redundant zend_func_info for zlib/hash/session

E.g. hash_equals is outdated - it has a non-null reflection type of bool.

Remove redundant signatures for types that are obviously not reference
counted (`F0`).

Closes GH-4787.

show more ...


# d0f7a7e7 06-Oct-2019 Tyson Andre

Remove redundant func info for ctype/bc/fileinfo

This is limited to types that aren't reference counted.
I assume the info that there is exactly one reference
should be preserved (e.

Remove redundant func info for ctype/bc/fileinfo

This is limited to types that aren't reference counted.
I assume the info that there is exactly one reference
should be preserved (e.g. for bcsqrt)

Closes GH-4786.

show more ...


# 3c2ba240 06-Oct-2019 Tyson Andre

Update zend_func_info for zend, array extensions

Some of these functions now have real reflection types
and will throw instead of return null/false.

Others provide the exact sam

Update zend_func_info for zend, array extensions

Some of these functions now have real reflection types
and will throw instead of return null/false.

Others provide the exact same reflection type information
that zend_func_info does. (or would after updating outdated types)

Closes GH-4790.

show more ...


# a653240b 02-Oct-2019 Nikita Popov

Prune opcache func info

Remove opcache func info for some functions which have arg info
with same or better accuracy (this is incomplete, we can drop more).


Revision tags: php-7.4.0RC3
# e8d2097b 26-Sep-2019 Tyson Andre

Update opcache zend_func_info after wbmp/xml_parser changes

See UPGRADING on the master branch.

```
- GD:
. The deprecated function image2wbmp() has been removed.

Update opcache zend_func_info after wbmp/xml_parser changes

See UPGRADING on the master branch.

```
- GD:
. The deprecated function image2wbmp() has been removed.
RFC: https://wiki.php.net/rfc/image2wbmp
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.
RFC: https://wiki.php.net/rfc/deprecate-png-jpeg-2wbmp
- XML:
. xml_parser_create(_ns) will now return an XmlParser object rather than a
resource.
```

show more ...


Revision tags: php-7.2.23, php-7.3.10, php-7.4.0RC2
# 29bced95 13-Sep-2019 Tyson Andre

Fix opcache return type for get_headers in zend_func_info

https://www.php.net/manual/en/function.get-headers.php#refsect1-function.get-headers-examples
shows that it will return string k

Fix opcache return type for get_headers in zend_func_info

https://www.php.net/manual/en/function.get-headers.php#refsect1-function.get-headers-examples
shows that it will return string keys when the second argument is
non-zero. I've verified that this is the case.

This bug was there since the initial commit in c88ffa9a567.

Closes GH-4702.

show more ...


Revision tags: php-7.2.23RC1, php-7.3.10RC1
# 3e89e9a6 09-Sep-2019 Tyson Andre

Add opcache return type for random_int()

random_int() will throw for incorrect argument counts, types (e.g. float
that can't cast to int), or having min > max.

See ext/standard/

Add opcache return type for random_int()

random_int() will throw for incorrect argument counts, types (e.g. float
that can't cast to int), or having min > max.

See ext/standard/random.c

show more ...


# 45e529d6 08-Sep-2019 Tyson Andre

Fix opcache zend_func_info for microtime/gettimeofday

microtime() doesn't return an array,
and gettimeofday() doesn't return a string.
See _php_gettimeofday in microtime.c (mode is n

Fix opcache zend_func_info for microtime/gettimeofday

microtime() doesn't return an array,
and gettimeofday() doesn't return a string.
See _php_gettimeofday in microtime.c (mode is non-zero for gettimeofday)

show more ...


12345678910