note 96366 deleted from function.preg-last-error by danbrown

From: Date: Tue, 23 Feb 2010 16:32:27 +0000
Subject: note 96366 deleted from function.preg-last-error by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166288@lists.php.net to get a copy of this message
Note Submitter: Pistachio ---- Rather than the below function, use the following for future compatibility (if/when new errors are added): <?php function pcre_error_decode() { if (($error = preg_last_error())) print "pcre_error: " . $error . "!\n"; } ?>

« previous php.notes (#166288) next »