note 25240 added to function.ereg

From: Date: Mon, 16 Sep 2002 09:42:03 +0000
Subject: note 25240 added to function.ereg
Groups: php.notes 
Request: Send a blank email to php-notes+get-36735@lists.php.net to get a copy of this message
ereg doesnt master \0 bytes íf you have any problems with ereg try analysing your haystack for \0 chars. ereg stops parsing the string at this position <? $string="schau mal auf \0www.nidura.de"; if(ereg("nidura",$string,$match)) echo "found"; else echo "not found"; ?> -- http://www.php.net/manual/en/function.ereg.php http://master.php.net/manage/user-notes.php?action=edit+25240 http://master.php.net/manage/user-notes.php?action=delete+25240 http://master.php.net/manage/user-notes.php?action=reject+25240

« previous php.notes (#36735) next »