History log of /PHP-7.4/Zend/zend_string.h (Results 76 – 100 of 114)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9d6e45a0 09-Jul-2014 Dmitry Stogov

Changed zend_make_printable_zval() to return "use_copy" instead of additional reference argument.
Improved branch prediction.


Revision tags: php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2
# 7614fe81 28-Jun-2014 Xinchen Hui

C++ doesn't allow implicitly convert void * to other pointer type


# f609d8c1 27-Jun-2014 Xinchen Hui

C++ compiler doesn't allow cast a void * to other pointer type


Revision tags: php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1, php-5.6.0beta4, php-5.4.29, php-5.5.13, php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1
# 65f488ec 02-May-2014 Nikita Popov

Add STR_ALLOCA_* API, use in get_method and verify_arg

This avoid unnecessary allocations when using dynamic method
dispatch and class typehints.

Probably there are other places

Add STR_ALLOCA_* API, use in get_method and verify_arg

This avoid unnecessary allocations when using dynamic method
dispatch and class typehints.

Probably there are other places where this should be done as well,
those just stood out for my usage.

show more ...


Revision tags: php-5.6.0beta2, php-5.5.12, php-5.4.28
# 08ae8815 23-Apr-2014 Nikita Popov

Allocate zend_strings with correct size

For me (32bit) sizeof(zend_string) is 20, which means that the
char[1] array at the end is padded with three bytes. Thus allocating
based on s

Allocate zend_strings with correct size

For me (32bit) sizeof(zend_string) is 20, which means that the
char[1] array at the end is padded with three bytes. Thus allocating
based on sizeof(zend_string)-1 overallocates by those 3 padding bytes.

This commit fixes the allocation size, by using XtOffsetOf.

show more ...


Revision tags: php-5.4.28RC1
# f9b26bc3 15-Apr-2014 Dmitry Stogov

Cleanup (2-nd round)


Revision tags: php-5.5.12RC1, php-5.6.0beta1
# a6be32f5 09-Apr-2014 Nikita Popov

IS_INTERNED is not always 0 in ZTS

The current implementation chooses to intern "" in ZTS. Either that
should be removed or IS_INTERNED needs to actually check the flag.


# 76cc99fe 03-Apr-2014 Dmitry Stogov

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


# d8099d04 02-Apr-2014 Dmitry Stogov

Changed data layout to allow more efficient operations


Revision tags: php-5.4.27, php-5.5.11
# a25a1ba0 01-Apr-2014 Dmitry Stogov

STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.


# b7938ab1 19-Mar-2014 Dmitry Stogov

Refactored GC (incomplete)


Revision tags: php-5.5.11RC1, php-5.4.27RC1
# 51494f25 14-Mar-2014 Dmitry Stogov

Don't include trailing zero into hash caclculation


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3
# 557994d5 18-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.4.26RC1, php-5.5.10RC1
# a0fe8e5a 17-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 2b9b9afa 17-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.6.0alpha2
# e2ea9a73 12-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


# 3f4c877b 11-Feb-2014 Xinchen Hui

Use better data structures (incomplete)


# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24
# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


Revision tags: php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20
# 8748e146 13-Sep-2013 Nikita Popov

Fix intl build


# 96b1c214 13-Sep-2013 Nikita Popov

Provide more macros for handling of interned strings

* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup be

Provide more macros for handling of interned strings

* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup behaves like estrndup for normal strings, but will
not copy interned strings.
* str_strndup behaves like zend_strndup for normal strings, but
will not copy interned strings.
* str_efree_rel behaves like efree_rel for normal strings, but
will not free interned strings.
* str_hash will return INTERNED_HASH for interned strings and
compute it using zend_hash_func for normal strings.

show more ...


Revision tags: php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1, php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1, php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2, php-5.5.0beta1, php-5.3.23, php-5.4.13, php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1, php-5.3.22, php-5.5.0alpha5, php-5.4.12, php-5.3.22RC2, php-5.4.12RC2, php-5.3.22RC1, php-5.4.12RC1, php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3, php-5.3.21RC1, php-5.4.11RC1
# a666285b 01-Jan-2013 Xinchen Hui

Happy New Year


# 0a7395e0 01-Jan-2013 Xinchen Hui

Happy New Year


12345