History log of /PHP-7.4/Zend/zend_string.c (Results 26 – 50 of 98)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8305a734 04-Dec-2017 Dmitry Stogov

Implemented x86 and x86_64 assembler functions for zend_string equality check.
They take into account zend_string layout (value alignment and trailing padding) and perform comparison by double or

Implemented x86 and x86_64 assembler functions for zend_string equality check.
They take into account zend_string layout (value alignment and trailing padding) and perform comparison by double or quad words.

show more ...


# 74c84cd7 04-Dec-2017 Dmitry Stogov

Use zend_string_equal*() API for zend_string equality check instead of direct memcmp() usage.


Revision tags: php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# 26b2b27a 03-Nov-2017 Dmitry Stogov

Don't intern strings in-place if their refcoung greater than 1


# f2b91b31 02-Nov-2017 Dmitry Stogov

Switch back from "request" interned strings storage to "permanent" in MSHUTDOWN


# 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
# efcce553 19-Oct-2017 Anatol Belski

Fix datatype


# 272f5a17 18-Oct-2017 Dmitry Stogov

Extend zend_string API to avoid reallocation in zend_string_init_interned()


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, 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
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


Revision tags: php-7.2.0alpha3, 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
# fdba3392 07-Mar-2017 Anatol Belski

move to hash API for interned strings ht management


# 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, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, 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


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, 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
# ee425297 13-Oct-2016 Anatol Belski

Revert "export symbol missing by phpdbg"

This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1.

Overseen strpprintf is there

(cherry picked from commit 3104882cf8733

Revert "export symbol missing by phpdbg"

This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1.

Overseen strpprintf is there

(cherry picked from commit 3104882cf873308c43dca20bdfd698dd3470a246)

show more ...


# 4e338817 12-Oct-2016 Anatol Belski

export symbol missing by phpdbg

(cherry picked from commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1)


# 3104882c 13-Oct-2016 Anatol Belski

Revert "export symbol missing by phpdbg"

This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1.

Overseen strpprintf is there


# 611ab7fe 12-Oct-2016 Anatol Belski

export symbol missing by phpdbg


Revision tags: 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, 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, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# 4042f543 20-Jun-2016 Dmitry Stogov

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we

HANDLE_BLOCK/UNBLOCK_INTERRUPTIONS() protection on inter-process data is completely useless now.
Historicaly, these macros were introduced as a protection from execution timeout handling, but we don't need them anymore after "safe execution timeout" implementation.
These macros are still useful to protect from termination during inner process data modification, because of OS signals (e.g. SIGTERM during OPcache SHM update).

show more ...


# 3f77db05 11-Jun-2016 Xinchen Hui

cast const away


Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1
# 4b2fb0b4 02-Jun-2016 Anatol Belski

fix dangling pointer, phpdbg reveals it


# 47e26cf9 02-Jun-2016 Anatol Belski

fix known interned strings init with TS per request


Revision tags: php-5.6.22, php-5.5.36, php-7.0.7
# 7b94b958 12-May-2016 Dmitry Stogov

Intern some known (and offten used) strings.


Revision tags: php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 97a9470d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


# 3537e95d 02-Jan-2016 Xinchen Hui

bump year which is missed in rev 49493a2


1234