History log of /php-src/Zend/zend.c (Results 201 – 225 of 889)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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
# 18e297d3 24-Sep-2017 Nikita Popov

Merge branch 'PHP-7.2'


# 76b2b4a1 24-Sep-2017 Nikita Popov

Merge branch 'PHP-7.1' into PHP-7.2


# 628c257f 24-Sep-2017 Nikita Popov

Merge branch 'PHP-7.0' into PHP-7.1


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

Merge branch 'PHP-7.2'

* PHP-7.2:
Fixed bug #75063


# 0a2a1361 13-Aug-2017 Anatol Belski

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fixed bug #75063


# 3069ad8d 13-Aug-2017 Anatol Belski

Fixed bug #75063

# 8c28ff42 02-Aug-2017 Joe Watkins

Merge branch 'PHP-7.2'

* PHP-7.2:
fixed #endif comments


# 6202c821 02-Aug-2017 Joe Watkins

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
fixed #endif comments


# 9c6262f3 02-Aug-2017 Joe Watkins

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
fixed #endif comments


# 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 ...

12345678910>>...36