Re: fail on preg_match_all

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux