note 116433 added to function.preg-replace-callback

From: Date: Fri, 02 Jan 2015 08:54:05 +0000
Subject: note 116433 added to function.preg-replace-callback
Groups: php.notes php.notes 
Request: Send a blank email to php-notes+get-201296@lists.php.net to get a copy of this message
Be aware that as of php5.4 you MUST NOT pass variables by reference, as in '[, int &$count ]' - if you do it will result in a fatal error. I think the writer is trying to say that the function accepts the parameter by reference, but that is not how it reads. -Manual needs updating/clarifying ? ---- Server IP: 72.52.91.14 Probable Submitter: 212.159.68.116 ---- Manual Page -- http://php.net/manual/en/function.preg-replace-callback.php Edit -- https://master.php.net/note/edit/116433 Del: integrated -- https://master.php.net/note/delete/116433/integrated Del: useless -- https://master.php.net/note/delete/116433/useless Del: bad code -- https://master.php.net/note/delete/116433/bad+code Del: spam -- https://master.php.net/note/delete/116433/spam Del: non-english -- https://master.php.net/note/delete/116433/non-english Del: in docs -- https://master.php.net/note/delete/116433/in+docs Del: other reasons-- https://master.php.net/note/delete/116433 Reject -- https://master.php.net/note/reject/116433 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201296) next »