History log of /php-src/ext/standard/string.c (Results 101 – 125 of 1286)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.4.6, php-7.2.31
# 2414b3d7 07-May-2020 Nikita Popov

Ensure ctype_string is NULL for C locale

We already document that this is the case, but currently it's only
true if setlocale() has not been called. Make sure ctype_string is
always

Ensure ctype_string is NULL for C locale

We already document that this is the case, but currently it's only
true if setlocale() has not been called. Make sure ctype_string is
always NULL, even with an explicit "C" locale call, so we can
more efficiently check whether we are in the "C" locale.

Closes GH-5542.

show more ...

# 3f769473 07-May-2020 Nikita Popov

Rename locale_string to ctype_string

To make it more obvious that this only refers to the LC_CTYPE
locale.

# 5d8cf360 07-May-2020 Xinchen Hui

Folder marks

# 31fb6a08 05-May-2020 William Hudgins

Add str_starts_with() and str_ends_with()

RFC: https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions

Closes GH-5300.

Revision tags: php-7.4.6RC1, php-7.3.18RC1
# f5fe4c3c 28-Apr-2020 Xinchen Hui

Use ascii lowercase if locale is default C

# 90705d44 29-Apr-2020 Nikita Popov

Treat invalid characters in basename() consistently

Always simply ignore (pass through) them. Previously the behavior
depended on where the invalid character occurred, as it messed
u

Treat invalid characters in basename() consistently

Always simply ignore (pass through) them. Previously the behavior
depended on where the invalid character occurred, as it messed
up the state management.

show more ...

# d50a1262 29-Apr-2020 Nikita Popov

Clean up naming in basename() implementation

# 8e411fe5 29-Apr-2020 Nikita Popov

Revert "Merge branch 'sse2_strtolower' of https://github.com/laruence/php-src"

This reverts commit 5a6373f904c6497551cd53baf323ddb854a553e1, reversing
changes made to 45cb42166d4a53fe015

Revert "Merge branch 'sse2_strtolower' of https://github.com/laruence/php-src"

This reverts commit 5a6373f904c6497551cd53baf323ddb854a553e1, reversing
changes made to 45cb42166d4a53fe0154be08097f112d6ec72a27.

This breaks strtolower-win32.phpt.

show more ...

# 5a6373f9 29-Apr-2020 Xinchen Hui

Merge branch 'sse2_strtolower' of https://github.com/laruence/php-src

* 'sse2_strtolower' of https://github.com/laruence/php-src:
Use ascii lowercase if locale is default C


# dc1574e0 28-Apr-2020 Nikita Popov

Fix ifunc resolver return type warning

# a233e128 28-Apr-2020 Xinchen Hui

Use ascii lowercase if locale is default C

# 6111d64c 16-Apr-2020 Máté Kocsis

Improve a last couple of argument error messages

Closes GH-5404

Revision tags: php-7.2.30, php-7.4.5, php-7.3.17
# 1f48feeb 13-Apr-2020 Máté Kocsis

Improve some TypeError and ValueError messages

Closes GH-5377

Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1
# bb6f3740 24-Feb-2020 Máté Kocsis

Improve argument error messages in ext/standard

Closes GH-5198

Revision tags: php-7.4.3, php-7.2.28
# 1668ad7c 13-Feb-2020 Philipp Tanlak

Add str_contains() function

RFC: https://wiki.php.net/rfc/str_contains

Closes GH-5179.

# e8678fcb 10-Mar-2020 Nikita Popov

Fixed bug #75902

Don't special-case nested arrays/objects in str_replace(), instead
perform a string cast on them as well. For arrays, this will always
result in the usual conversion

Fixed bug #75902

Don't special-case nested arrays/objects in str_replace(), instead
perform a string cast on them as well. For arrays, this will always
result in the usual conversion warning.

This behavior is consistent with preg_replace(). If we didn't want
to cast the array to string here, we should instead perform the
replacement recursively. Silently copying it is just confusing.

show more ...

# 960318ed 25-Feb-2020 Máté Kocsis

Change argument error message format

Closes GH-5211

Revision tags: php-7.3.15RC1, php-7.4.3RC1
# ac0853eb 29-Jan-2020 Máté Kocsis

Make type error messages more consistent

Closes GH-5092

# 8dd91f52 27-Jan-2020 Nikita Popov

Remove state pointer argument from php_strip_tags

Revision tags: php-7.3.15
# 5d656410 24-Jan-2020 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Yet another check for php_strip_tags_ex()


# 372b678e 24-Jan-2020 Christoph M. Becker

Yet another check for php_strip_tags_ex()

# 1b7343b9 24-Jan-2020 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Yet another check for php_strip_tags_ex()


# 6d57476f 24-Jan-2020 Christoph M. Becker

Yet another check for php_strip_tags_ex()

# a698e36a 23-Jan-2020 Stanislav Malyshev

Merge branch 'PHP-7.4'

* PHP-7.4:
More checks for php_strip_tags_ex


# 984d5088 23-Jan-2020 Stanislav Malyshev

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
More checks for php_strip_tags_ex


12345678910>>...52