note 77983 deleted from function.preg-match-all by nlopess

From: Date: Sun, 23 Sep 2007 21:13:59 +0000
Subject: note 77983 deleted from function.preg-match-all by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130719@lists.php.net to get a copy of this message
Note Submitter: Borszczuk ---- Seems preg_match_all() got some kind of size limitation. I was just trying to match with simple pattern like: <foo>(.*)</foo>. But I was unable to make it work, even there's hardly a way to make this pattern wrong. The key seems to be in the size of the one block that matches -> all what between foo tags was about 1600 lines of text and 160KB total. I am unable to find anything about this bug/feature. PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31)

« previous php.notes (#130719) next »