note 31518 added to function.ereg

From: Date: Thu, 24 Apr 2003 19:07:20 +0000
Subject: note 31518 added to function.ereg
Groups: php.notes 
Request: Send a blank email to php-notes+get-47039@lists.php.net to get a copy of this message
He folks, what about if the variable with the search pattern is empty? I got this ugly error message: REG_EMPTY: empty (sub)expression in xxx.php on line 123 I got this under php 4.06 and 4.2.3 Any idea to remove this? Thanks for help, rudolf -- http://www.php.net/manual/en/function.ereg.php http://master.php.net/manage/user-notes.php?action=edit+31518 http://master.php.net/manage/user-notes.php?action=delete+31518 http://master.php.net/manage/user-notes.php?action=reject+31518

« previous php.notes (#47039) next »