|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-13 03:28 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 20:00:02 2026 UTC |
I am using 4.0.0 with Apache 1.3.12 and MySQL, all standard. The following code works fine: $tpattern = ".*<big><b>(.*)</b></big>"; if (eregi($tpattern,$text,$match)) { $title = $match[1]; But adding .* at the end of the pattern, making $tpattern = ".*<big><b>(.*)</b></big>.*"; can take 41 seconds to run, measured using time(). Sometimes it gives the error message Fatal error: Maximum execution time of 30 seconds exceeded in /home/elkan/public_html/crawler.php on line 58