note 98067 added to function.preg-last-error

From: Date: Mon, 24 May 2010 12:20:24 +0000
Subject: note 98067 added to function.preg-last-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-169554@lists.php.net to get a copy of this message
The above function pcre_error_deocde [sic] is not correct - not all of the used constants are errors constants. For example, when the error is actually PREG_BAD_UTF8_ERROR, the function outputs the text for PREG_SPLIT_OFFSET_CAPTURE. ---- Server IP: 83.137.20.135 Probable Submitter: 81.205.254.207 ---- Manual Page -- http://www.php.net/manual/en/function.preg-last-error.php Edit -- https://master.php.net/note/edit/98067 Del: integrated -- https://master.php.net/note/delete/98067/integrated Del: useless -- https://master.php.net/note/delete/98067/useless Del: bad code -- https://master.php.net/note/delete/98067/bad+code Del: spam -- https://master.php.net/note/delete/98067/spam Del: non-english -- https://master.php.net/note/delete/98067/non-english Del: in docs -- https://master.php.net/note/delete/98067/in+docs Del: other reasons-- https://master.php.net/note/delete/98067 Reject -- https://master.php.net/note/reject/98067 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169554) next »