History log of /php-src/ext/zend_test/tests/strings_marked_as_utf8.phpt (Results 1 – 6 of 6)
Revision Date Author Comments
# d7c351ea 26-Mar-2023 George Peter Banyard

Propagate UTF-8 flag during Rope operations (#10915)


# 3821938e 07-Mar-2023 Michael Voříšek

Imply UTF8 validity in implode function (#10780)

Sets the UTF-8 valid flag if all parts are valid, or numeric (which are valid UTF-8 by definition).

* remove unuseful comments

Imply UTF8 validity in implode function (#10780)

Sets the UTF-8 valid flag if all parts are valid, or numeric (which are valid UTF-8 by definition).

* remove unuseful comments

* Imply UTF8 validity in implode function

* revert zend_string_dup change

show more ...


# c2d4bafc 03-Feb-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Copy UTF-8 flag for str_repeat


# 64127b66 29-Jan-2023 George Peter Banyard

Concatenating two valid UTF-8 strings produces a valid UTF-8 string

The UTF-8 valid flag needs to be copied upon interning,
otherwise strings that are concatenated at compile time lose t

Concatenating two valid UTF-8 strings produces a valid UTF-8 string

The UTF-8 valid flag needs to be copied upon interning,
otherwise strings that are concatenated at compile time lose this information.

However, if previously this string was interned without the flag it is not added
E.g. in the case the string is an existing class name.

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>

show more ...


# 78720e39 27-Jan-2023 George Peter Banyard

Mark numeric strings as valid UTF-8


# 0c9181b6 29-Jan-2023 George Peter Banyard

Add function in zend_test to check UTF8 flag is added

Also add test to check what strings are marked as having the flag