|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-04 13:47 UTC] bmihelac at mihelac dot org
[2007-03-05 09:58 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
Description: ------------ the regular expression like ((any text)*(other text)*)* produce the hang or crash of PHP program. In the previous versions of php all worked properly. Reproduce code: --------------- $subj="sdfgsdg"; if(preg_match('/^((a)*(b)*)*$/',$subj)) echo "match"; else echo "not match"; Expected result: ---------------- "match" or "not match" printing Actual result: -------------- nothing. the hung of script on my unux hosting and breaking program in windows