note 114321 added to function.preg-replace-callback

From: Date: Fri, 07 Feb 2014 03:33:59 +0000
Subject: note 114321 added to function.preg-replace-callback
Groups: php.notes 
Request: Send a blank email to php-notes+get-198428@lists.php.net to get a copy of this message
For the callback I advise only to use a permanent or anonymous function. Depending on the usage you may encounter memory issues when using create_function for the callback possibly due to attempts at being compatible with PHP 5.2 or prior. Some servers refuse to update their PHP for whatever reason. Please peruse the create_function documentation for more details regarding its memory usage. Regards. ---- Server IP: 72.55.140.6 Probable Submitter: 174.95.198.179 ---- Manual Page -- http://php.net/manual/en/function.preg-replace-callback.php Edit -- https://master.php.net/note/edit/114321 Del: integrated -- https://master.php.net/note/delete/114321/integrated Del: useless -- https://master.php.net/note/delete/114321/useless Del: bad code -- https://master.php.net/note/delete/114321/bad+code Del: spam -- https://master.php.net/note/delete/114321/spam Del: non-english -- https://master.php.net/note/delete/114321/non-english Del: in docs -- https://master.php.net/note/delete/114321/in+docs Del: other reasons-- https://master.php.net/note/delete/114321 Reject -- https://master.php.net/note/reject/114321 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198428) next »