History log of /PHP-7.4/Zend/zend.c (Results 76 – 100 of 721)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.2.0alpha3
# e08c0ed8 27-Jun-2017 Anatol Belski

Bug #74815 crash with a combination of INI entries at startup

TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems

Bug #74815 crash with a combination of INI entries at startup

TS related VCWD routines depend on CWD. Thus, a premature CWD
deactivation renders the VCWD layer unusable. Same issue seems to
persist in versions < 7.2, just that the code path is actually unused so
the issue didn't show up. Still might make sense to backport this into
lower branches.

show more ...


# caaeb484 26-Jun-2017 Dmitry Stogov

Removed EG(valid_symbol_table). Used EG(active) instead.


# 205807f6 25-Jun-2017 Nikita Popov

Move va_copy compatibility code into zend_portability.h

Previously this was defined in zend.c and php.h and also handled
in another way in soap.c.


# 6dd2eaf4 25-Jun-2017 Nikita Popov

Remove unnecessary string copy


# f25ecdac 21-Jun-2017 Dmitry Stogov

shutdown_executor() refactoring (reuse opcache fast request shutdown code)


Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17
# ec31924c 10-Mar-2017 Remi Collet

Constify to void build warning for C++ ext. [-Wwrite-strings]

Example (with v8js):

/builddir/build/BUILD/php-pecl-v8js-1.3.4/NTS/v8js_class.cc: In function 'void v8js_execute_script

Constify to void build warning for C++ ext. [-Wwrite-strings]

Example (with v8js):

/builddir/build/BUILD/php-pecl-v8js-1.3.4/NTS/v8js_class.cc: In function 'void v8js_execute_script(zval*, v8js_script*, long int, long int, long int, zval**)':
/usr/include/php/Zend/zend.h:204:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
#define zend_bailout() _zend_bailout(__FILE__, __LINE__)
^
/builddir/build/BUILD/php-pecl-v8js-1.3.4/NTS/v8js_class.cc:633:3: note: in expansion of macro 'zend_bailout'
zend_bailout();
^~~~~~~~~~~~

show more ...


# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1
# b59f3cf1 21-Feb-2017 Anatol Belski

use the delivered global arg instead of fetching it


# 1623ef10 18-Feb-2017 Anatol Belski

initialize valid_symbol_table, important for the main thread

to prevent php_errormsg population on invalid symlol_table


Revision tags: php-7.1.2, php-7.0.16
# 1b1399c9 09-Feb-2017 Jim Zubov

Added EG(flags) - executor global flags
EG_FLAGS_IN_SHUTDOWN - is set when PHP is in shutdown state


Revision tags: php-7.0.16RC1, php-7.1.2RC1
# f81b7df6 20-Jan-2017 Remi Collet

Fixed bug #73965 DTrace reported as enabled when disabled


Revision tags: php-5.6.30, php-7.0.15
# cd2b462a 15-Jan-2017 Anatol Belski

move some var declarations to the top for better grouping


# b25be216 13-Jan-2017 Xinchen Hui

Remove redundant reference handling


# 04379bcb 13-Jan-2017 Xinchen Hui

Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)


Revision tags: php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 5fc9aa9a 18-Dec-2016 Nikita Popov

Make printf_to_smart_str(ing) the primitive printf operation

vs(tr)pprintf is now implemented in Zend on top of
printf_to_smart_str(int), which is provided as a utility function.

Make printf_to_smart_str(ing) the primitive printf operation

vs(tr)pprintf is now implemented in Zend on top of
printf_to_smart_str(int), which is provided as a utility function.

This allows us to efficiently printf to the end of a smart string.

show more ...


# c7742e28 18-Dec-2016 Nikita Popov

Export zend_s(tr)pprintf

It's annoying that in Zend you have to use zend_strpprintf instead
of strpprintf, while in PHP you have to use strpprintf instead of
zend_strpprintf.

Export zend_s(tr)pprintf

It's annoying that in Zend you have to use zend_strpprintf instead
of strpprintf, while in PHP you have to use strpprintf instead of
zend_strpprintf.

Make zend_s(tr)pprintf always available and keep s(tr)pprintf as
macro aliases.

show more ...


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0
# b204b3ab 26-Nov-2016 Anatol Belski

further normalizations, uint vs uint32_t

fix merge mistake

yet one more replacement run


Revision tags: php-5.6.29RC1, php-7.0.14RC1
# 0c78fe4b 18-Nov-2016 Dmitry Stogov

Disabled PHP call tracing by default (it makes significant overhead).
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.


# a911df5d 18-Nov-2016 Dmitry Stogov

Revert "Introduced zend.enable_dtrace INI directive to enable/disable PHP call tracing"

This reverts commit 01239b0effbc1839aca6d03cdd4c3a0c1a509798.


# 01239b0e 18-Nov-2016 Dmitry Stogov

Introduced zend.enable_dtrace INI directive to enable/disable PHP call tracing


Revision tags: php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1
# 12ee17d5 30-Aug-2016 Davey Shafik

Implement \ArgumentCountError exception


Revision tags: php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# b0037688 11-Jul-2016 Bob Weinand

Rewrite watchpoints to be much more stable

This mainly involves a separate abstraction layer for elements (e.g. $a->b) and watchpoints (on pointer of the Bucket for example).
Also better

Rewrite watchpoints to be much more stable

This mainly involves a separate abstraction layer for elements (e.g. $a->b) and watchpoints (on pointer of the Bucket for example).
Also better comparison handling (value backup vs. page dumps).

It is not yet finished (there are sometimes false positives announced and names not yet perfect), but the functionality is working and not crashing as far as I have tested.
Future scope is also relative watchpoints, e.g. "w $this->val expression()" which does not have the symbol tables as basis, but the value (in this example: return value of expression()) as basis.

show more ...


12345678910>>...29