Re: fail on preg_match_all
| From: | Jim Lucas | Date: | Thu, 21 Feb 2008 05:42:10 +0000 |
| Subject: | Re: fail on preg_match_all | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269766@lists.php.net to get a copy of this message | ||
Hamilton Turner wrote:
Does anyone know why a server would simply fail on this line? $num = preg_match_all($regex, $theData, $match, PREG_SET_ORDER); if i know the file handle is valid (i grabbed it using 'or die'), and the regex is valid hamyWow, what a lack of information! If I was holding an Easter Egg basket right now, could you tell me how many eggs I had in it? Why don't you provide some useful code examples! Namely: 1. Show us some context 2. What is in $regex 3. Show us the code that generates "the data" in $theData