History log of /PHP-8.0/Zend/zend.c (Results 101 – 125 of 760)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1
# f98721b4 29-Nov-2017 Dmitry Stogov

Intern auto global name strings in first place


Revision tags: php-7.2.0, 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.


# ccc12b82 16-Nov-2017 Dmitry Stogov

Avoid unnecessary reference-counting on strings.


# ce18738a 16-Nov-2017 Dmitry Stogov

Removed "_" from API functions.


Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# 974a8f8a 30-Oct-2017 Dmitry Stogov

Use internet strings for EG(ini_entries)


# 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
# b4903aef 18-Oct-2017 Dmitry Stogov

Move a part of opcache initialization into post_startup phase (when all extensions already loaded).


Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# cb9d81ef 05-Oct-2017 Dmitry Stogov

Refactored recursion pretection


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# 73d6456d 24-Sep-2017 Nikita Popov

Fixed bug #75252


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
# 3069ad8d 13-Aug-2017 Anatol Belski

Fixed bug #75063


# b2934d26 02-Aug-2017 clwu

fixed #endif comments


Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22
# 0d1eeeb6 28-Jul-2017 Anatol Belski

move zend_ato*() to size_t and remove casts


# 49d9b301 26-Jul-2017 Anatol Belski

Move cwd_state and path related routines to size_t

Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strin

Move cwd_state and path related routines to size_t

Having `int` there is no real profit in the size or speed, while unsigned
improves security and overall integration. ZPP supplied strings can
be then accepted directly and structs can be still handled with smaller
unsigned types for size reasons, which is safe. Yet some related places
are to go.

basic move tsrm_realpath_r to size_t

fix conditions and sync with affected places

touch ocurrences of php_sys_readlink usage

follow up on phar path handling

remove duplicated check

move zend_resolve_path and related pieces to size_t

touch yet resolve path related places

remove cast

missing pieces

missing piece

yet cleanups for php_sys_readlink for ssize_t

fix wrong return

show more ...


Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


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


12345678910>>...31