History log of /PHP-8.3/Zend/zend_API.c (Results 251 – 275 of 1135)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...


# ebd1f5af 23-Jul-2018 Dmitry Stogov

API cleanup.
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).


# 41db5f73 06-Jul-2018 Dmitry Stogov

Fixed reference-counting in zend_parse_arg_str_weak()


# 8361c0a9 05-Jul-2018 Dmitry Stogov

Avoid useless checks in object_init()


# 4a475a49 04-Jul-2018 Dmitry Stogov

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occur

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.

show more ...


# 43aca311 02-Jul-2018 Dmitry Stogov

Avoid string comparisons for magic methods (all magic methods start with "__")


# 7ac06d66 29-Jun-2018 Nikita Popov

Add zend_update_static_property_ex API

And cleanup the implementation to perform a normal by-value
assignment.


# 813b6fc9 29-Jun-2018 Nikita Popov

Add zend_read_static_property_ex API

For symmetry with zend_read_property_ex.


# 6e77a60a 29-Jun-2018 Dmitry Stogov

Removed INIT_OVERLOADED_CLASS... macros


# 6dc0cd86 27-Jun-2018 Dmitry Stogov

Fixed ZTS race condition (zend_class_entry->ce_flags of internal classes must not be modified, because internal class enties are shared between threads)


# 7f67513c 25-Jun-2018 Dmitry Stogov

Lazy function copying from op_cache SHM into process memory


# c8f355b1 25-Jun-2018 Dmitry Stogov

Micro-optimization


# 2543e61a 22-Jun-2018 Nikita Popov

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using ref

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.

This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.

show more ...


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.


1...<<11121314151617181920>>...46