Re: fail on preg_match_all

From: Date: Thu, 21 Feb 2008 05:37:15 +0000
Subject: Re: fail on preg_match_all
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269765@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
What file handle? preg_match doesn't work on resources, it works on data. What do you mean by die? return no results? segfaults the server? .... ? -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#269765) next »