Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix fails Windows test
  • Loading branch information
youkidearitai committed Apr 15, 2026
commit 9b668e3f9b3b31d66f48373e584064e0e3d8a051
8 changes: 4 additions & 4 deletions ext/mbstring/tests/bug69151.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ var_dump(false === mb_ereg_search_init("\x80", '.'));
var_dump(false === mb_ereg_search());
?>
--EXPECTF--
Deprecated: Function mb_eregi() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug69151.php on line %d
Deprecated: Function mb_eregi() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)
bool(true)

Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug69151.php on line %d
Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug69151.php on line %d
Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug69151.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)
26 changes: 13 additions & 13 deletions ext/mbstring/tests/bug72691.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -28,47 +28,47 @@ var_dump(mb_ereg_search_getpos());
var_dump(mb_ereg_search_getregs());
?>
--EXPECTF--
Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(0)

Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(0) ""
}

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(0)

Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(0) ""
}

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(3)

Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(3) "foo"
}

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(3)

Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72691.php on line %d
Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(0) ""
Expand Down
24 changes: 12 additions & 12 deletions ext/mbstring/tests/bug72693.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -27,40 +27,40 @@ var_dump(mb_ereg_search('\Z'));
var_dump(mb_ereg_search_getpos());
?>
--EXPECTF--
Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_init() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(0)

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(0)

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(3)

Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getregs() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(3) "foo"
}

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(3)

Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(true)

Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug72693.php on line %d
Deprecated: Function mb_ereg_search_getpos() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
int(3)
12 changes: 6 additions & 6 deletions ext/mbstring/tests/bug76999.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ try {
var_dump(mb_regex_set_options());
?>
--EXPECTF--
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(2) "pr"

Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(2) "mr"

Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(3) "imd"

Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
Option "a" is not supported

Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug76999.php on line %d
Deprecated: Function mb_regex_set_options() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(2) "mr"
4 changes: 2 additions & 2 deletions ext/mbstring/tests/bug77367.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mb_regex_encoding('UTF-8');
var_dump(mb_split("\\w", "\xfc"));
?>
--EXPECTF--
Deprecated: Function mb_regex_encoding() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77367.php on line %d
Deprecated: Function mb_regex_encoding() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77367.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(false)
2 changes: 1 addition & 1 deletion ext/mbstring/tests/bug77370.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!function_exists('mb_split')) die('skip mb_split() not available');
var_dump(mb_split(" \xfd",""));
?>
--EXPECTF--
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77370.php on line 2
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line 2

Warning: mb_split(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)
2 changes: 1 addition & 1 deletion ext/mbstring/tests/bug77371.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!function_exists('mb_ereg')) die('skip mb_ereg() not available');
var_dump(mb_ereg("()0\xfc00000\xfc00000\xfc00000\xfc",""));
?>
--EXPECTF--
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77371.php on line %d
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Warning: mb_ereg(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)
8 changes: 4 additions & 4 deletions ext/mbstring/tests/bug77381.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ var_dump(mb_ereg("0000\\"."\xf5","0"));
var_dump(mb_ereg("(?i)FFF00000000000000000\xfd",""));
?>
--EXPECTF--
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77381.php on line %d
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Warning: mb_ereg(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)

Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77381.php on line %d
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Warning: mb_ereg(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)

Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77381.php on line %d
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Warning: mb_ereg(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)

Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77381.php on line %d
Deprecated: Function mb_ereg() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Warning: mb_ereg(): Pattern is not valid under UTF-8 encoding in %s on line %d
bool(false)
4 changes: 2 additions & 2 deletions ext/mbstring/tests/bug77418.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mb_regex_encoding("UTF-32");
var_dump(mb_split("\x00\x00\x00\x5c\x00\x00\x00B","000000000000000000000000000000"));
?>
--EXPECTF--
Deprecated: Function mb_regex_encoding() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77418.php on line %d
Deprecated: Function mb_regex_encoding() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77418.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
bool(false)
4 changes: 2 additions & 2 deletions ext/mbstring/tests/bug77428.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ var_dump(mb_ereg_replace('(%)', '\\\\1', 'a%c'));

?>
--EXPECTF--
Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77428.php on line %d
Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(4) "a\%%c"

Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/bug77428.php on line %d
Deprecated: Function mb_ereg_replace() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
string(4) "a\%%c"
10 changes: 5 additions & 5 deletions ext/mbstring/tests/gh18901.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ foreach ($vals as $val) {
}
?>
--EXPECTF--
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/gh18901.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(4) {
[0]=>
string(0) ""
Expand All @@ -26,7 +26,7 @@ array(4) {
string(0) ""
}

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/gh18901.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(4) {
[0]=>
string(0) ""
Expand All @@ -38,7 +38,7 @@ array(4) {
string(0) ""
}

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/gh18901.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(4) {
[0]=>
string(0) ""
Expand All @@ -50,13 +50,13 @@ array(4) {
string(0) ""
}

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/gh18901.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(3) "123"
}

Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %smbstring/tests/gh18901.php on line %d
Deprecated: Function mb_split() is deprecated since 8.6, mbregex support end PHP 9.0 in %s on line %d
array(1) {
[0]=>
string(3) "123"
Expand Down
Loading