History log of /PHP-7.4/Zend/zend_API.c (Results 76 – 100 of 947)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 0b90cf85 01-Jun-2018 Dmitry Stogov

Removed "dead" code (zend_hash_update() never fails)


# d90c6f24 29-May-2018 Dmitry Stogov

Removed useless zval_ptr_dtor()


# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


Revision tags: php-7.1.18, php-7.2.6
# 5681f652 14-May-2018 xKhorasan

Fixed bug #76337


Revision tags: php-7.2.6RC1, php-7.1.18RC1
# 524f5245 08-May-2018 Dmitry Stogov

Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.


# fdb347a7 03-May-2018 Dmitry Stogov

zend_is_callable() improvement


# 98ef183e 26-Apr-2018 shiguangqi2008@gmail.com

Fix memory leak in zend_disable_class()


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2
# d0ee2a82 19-Jan-2018 Gabriel Caruso

Add is_countable function

RFC: https://wiki.php.net/rfc/is-countable


# 7e329a82 16-Feb-2018 Dmitry Stogov

Improved ZPP to reduce amount of generated code.


# fef879a2 04-Feb-2018 Gabriel Caruso

Use bool instead of boolean while throwing a type error

PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match

Use bool instead of boolean while throwing a type error

PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".

This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which
implements the same change for integer->int.

show more ...


# ce1d69a1 04-Feb-2018 Gabriel Caruso

Use int instead of integer in type errors

PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the a

Use int instead of integer in type errors

PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".

show more ...


# 5c77bac9 16-Jan-2018 Dmitry Stogov

A cheaper way to reset type flags.


Revision tags: php-7.1.14RC1, php-7.2.2RC1
# c32d79b6 10-Jan-2018 Dmitry Stogov

cleanup


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# 64002648 31-Dec-2017 Gabriel Caruso

Trailing whitespaces

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>


# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# d9f5ea69 27-Dec-2017 Dmitry Stogov

zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is initialized if zend_fcall_info_cache.function_handler is set).


# a6fcbb7c 27-Dec-2017 Dmitry Stogov

Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check


# b2b2b437 25-Dec-2017 Nikita Popov

Add _IS_NUMBER as cast_object() target type

convert_scalar_to_number() will now call cast_object() with an
_IS_NUMBER argument, in which case the cast handler should return
either an

Add _IS_NUMBER as cast_object() target type

convert_scalar_to_number() will now call cast_object() with an
_IS_NUMBER argument, in which case the cast handler should return
either an integer or floating point number, whichever is more
appropriate.

Previously convert_scalar_to_number() unconditionally converted
objects to integers instead.

Fixes bug #53033.
Fixes bug #54973.
Fixes bug #73108.

show more ...


# 580bae4a 13-Dec-2017 Levi Morrison

Fix copy-and-paste bugs


Revision tags: php-7.2.1RC1
# 6a9d2b21 07-Dec-2017 Dmitry Stogov

Cleanup type conversion


Revision tags: php-7.1.13RC1, php-7.0.27RC1
# 13424816 30-Nov-2017 Dmitry Stogov

Only functions of temporary modules have to be unregistered here


# 084c17fe 29-Nov-2017 Dmitry Stogov

Use zend_string_tolower() where it's possible (to avoid reallocations).
Allow zend_string_tolower_ex() to create parsistent strings


Revision tags: php-7.2.0
# 8795893f 25-Nov-2017 Nikita Popov

Make sure string property/class const values are interned

This was done for user-definde class constant values, however this
is also important for properties and internal classes.


12345678910>>...38