#
b6cc4d20 |
| 05-Jul-2018 |
Dmitry Stogov |
Use zval_ptr_dtor() instead of zval_dtor() in internal functions that destroy new created object (This is safer and produces less code)
|
#
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 ...
|
#
f2c4f06f |
| 25-Jun-2018 |
Nikita Popov |
Remove unnecessary uses of z/ parameters
|
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 |
|
#
f2b4ec4b |
| 31-May-2018 |
Dmitry Stogov |
Export standard object handlers, to avoid indirect access
|
#
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, php-7.2.6RC1, php-7.1.18RC1 |
|
#
eafa92ba |
| 03-May-2018 |
Dmitry Stogov |
zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoloa
zend_fcall_info_cache.calling_scope is not used by zend_call_function() and doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
show more ...
|
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 |
|
#
1af60a2a |
| 14-Mar-2018 |
Dmitry Stogov |
Keep initialized object_handlers structures in read-only memory.
|
Revision tags: php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28 |
|
#
701437a9 |
| 25-Feb-2018 |
Gabriel Caruso |
Remove return types from some magic method in protos __construct, __destruct, __wakeup does not have return types defined.
|
#
ede663f3 |
| 19-Feb-2018 |
Nikita Popov |
Convert iterator by reference errors to exceptions I'm using RuntimeException in SPL, because other SPL classes that throw this error used it. Error is used for everything else, because
Convert iterator by reference errors to exceptions I'm using RuntimeException in SPL, because other SPL classes that throw this error used it. Error is used for everything else, because that's what core does.
show more ...
|
Revision tags: php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2 |
|
#
a22f8ac1 |
| 17-Jan-2018 |
Dmitry Stogov |
More effecient array duplication
|
Revision tags: php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27 |
|
#
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).
|
#
1db84022 |
| 14-Dec-2017 |
Dmitry Stogov |
Move zend_object_iterator_funcs structures into read-only data segment
|
Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1 |
|
#
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 |
|
#
b72b1a4e |
| 25-Nov-2017 |
Nikita Popov |
Add zend_object_alloc() API Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure w
Add zend_object_alloc() API Using ecalloc() to create objects is expensive, because the dynamic-size memset() is unreasonably slow. Make sure we only zero the main object structure with known size, as the properties are intialized separately anyway. Technically we do not need to zero the embedded zend_object structure either, but as long as the memset argument is constant, a couple more bytes don't really matter.
show more ...
|
Revision tags: php-7.1.12, php-7.0.26 |
|
#
26f8fc83 |
| 16-Nov-2017 |
Nikita Popov |
Enable and fix printf() format warnings Add _unchecked() variants of zend_spprintf and zend_strpprintf for cases where we specifically want to disable these checks, such as use of %H.
|
Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1 |
|
#
49ea143b |
| 26-Oct-2017 |
Dmitry Stogov |
Encapsulate reference-counting primitives. Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-count
Encapsulate reference-counting primitives. Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
show more ...
|
Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25 |
|
#
8bfe748f |
| 16-Oct-2017 |
Dmitry Stogov |
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
|
Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24 |
|
#
44e0b79a |
| 19-Sep-2017 |
Dmitry Stogov |
Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
|
Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3 |
|
#
5ed83f7e |
| 29-Jun-2017 |
Adam Baratz |
Apply fix for #69356 to "Sent SQL"
|
#
08089f01 |
| 29-Jun-2017 |
Adam Baratz |
Fixed #69356: PDOStatement::debugDumpParams() truncates query
|
#
04fb3f28 |
| 25-Jun-2017 |
Tom Van Looy |
Remove superfluous semicolons
|
Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2 |
|
#
9c2a1f52 |
| 19-Jun-2017 |
Dmitry Stogov |
Avoid useless dereferences and separations during paramter passing.
|