|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-06-18 06:05 UTC] requinix@php.net
-Summary: Space regex
+Summary: Regex does not match space with JIT enabled
-Status: Open
+Status: Suspended
-Package: *Regular Expressions
+Package: PCRE related
[2020-06-18 06:05 UTC] requinix@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
Description: ------------ Hi, This print_r(preg_match('/[\s\p{Arabic}]/u',' ')); Prints 1 in PHP7.3.11 but prints 0 in 7.4.7 . If that's is expected, it's not documented in the migration manual. https://www.php.net/manual/en/migration74.other-changes.php#migration74.other-changes.pkg-config Test script: --------------- print_r(preg_match('/[\s\p{Arabic}]/u',' ')); Expected result: ---------------- 1 Actual result: -------------- 0