History log of /PHP-7.4/ext/standard/string.c (Results 76 – 100 of 1022)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a06cde82 03-Feb-2018 Anatol Belski

If the target attribute is available, attach it explicitly

The ifunc attribute might be not available as it is binary format
dependent.


# 92f9fde2 24-Jan-2018 Anatol Belski

Macrify the common operation


# 7e2a9936 24-Jan-2018 Anatol Belski

Move useful macro into zend_portability.h


# a6e86f7a 24-Jan-2018 Anatol Belski

Implement intrinsic function resolving per MINIT


# 8d4b57f6 17-Jan-2018 Anatol Belski

Add missing closing fold


# 5618a5cf 17-Jan-2018 Xinchen Hui

Don't use ifunc if compiling with __SSE4_2__ deinfed


# 3a3e0493 16-Jan-2018 Xinchen Hui

Added ZEND_API zend_cpu_supports


# 0b7a9681 15-Jan-2018 Xinchen Hui

Added missed PHPAPI


# 98aa3a65 15-Jan-2018 Xinchen Hui

Optimized php_addslashes with SSE4.2 instructions

According to benchmark
(https://gist.github.com/laruence/fd0d443d2c5bacca9d8ab99250499956) this brings 30%+ execution time reduced.

Optimized php_addslashes with SSE4.2 instructions

According to benchmark
(https://gist.github.com/laruence/fd0d443d2c5bacca9d8ab99250499956) this brings 30%+ execution time reduced.

In the further, this open the door for possible SSE4.2 optimizations in
other places.

show more ...


# 6b9e2b79 10-Jan-2018 Xinchen Hui

minor optimize on strstr


# 6da44fef 09-Jan-2018 Xinchen Hui

Fixed bug #75781 (substr_count incorrect result)


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# 64002648 31-Dec-2017 Gabriel Caruso

Trailing whitespaces

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>


# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 05cb472a 26-Dec-2017 Dmitry Stogov

Avoid overhead of memory allocation and useless referene-counting in implode()


# 83e495e0 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1
# e4e26f24 03-Dec-2017 Tom Van Looy

Remove RAND_RANGE() macro

The behavior of RANGE_RANGE() is 7.1 changed completely, from
rescaling an already generated number to generating a number
itself. Because of this str_shuff

Remove RAND_RANGE() macro

The behavior of RANGE_RANGE() is 7.1 changed completely, from
rescaling an already generated number to generating a number
itself. Because of this str_shuffle() ended up generating two
random numbers on every iteration.

To avoid further misuse the function is dropped entirely. Extensions
for PHP >= 7.1 should directly call php_mt_rand_range().

show more ...


# 6a9d2b21 07-Dec-2017 Dmitry Stogov

Cleanup type conversion


Revision tags: php-7.2.0, php-7.1.12, php-7.0.26
# 80d6eb68 17-Nov-2017 Anatol Belski

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be <

Fix unsigned comparisons and remove dead code

Fix unsigned comparison

Cleanup never executed block

Fix unsigned comparison

Fix unsigned comparison, diff can't be < 0

Fix unsigned comparison

Fix unsigned comparison

Remove dead code

show more ...


# b8a4225a 16-Nov-2017 Dmitry Stogov

Reverted incorrect changes to setlocale()


# ccc12b82 16-Nov-2017 Dmitry Stogov

Avoid unnecessary reference-counting on strings.


Revision tags: php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, 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
# 6546c516 06-Aug-2017 Xinchen Hui

Optimized ucfirst(Avoid duping string if possible)


Revision tags: 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, 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, 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
# 14c422a3 16-Jan-2017 Stanislav Malyshev

Fix bug #73648 - integer overflow in substr


# 9c2a1f52 19-Jun-2017 Dmitry Stogov

Avoid useless dereferences and separations during paramter passing.


12345678910>>...41