note 101660 added to function.create-function

From: Date: Mon, 03 Jan 2011 09:25:08 +0000
Subject: note 101660 added to function.create-function
Groups: php.notes 
Request: Send a blank email to php-notes+get-175405@lists.php.net to get a copy of this message
This function creates lambda_xx function at global namespace (\) even if you are in a specific namespace. Namespace aa; create_function() > function is in still global space So your function should also include all other functions and constants as aa\xxx() and there is no way to create in current namespace as of 5.3.3 ---- Server IP: 69.147.83.197 Probable Submitter: 68.146.91.145 ---- Manual Page -- http://www.php.net/manual/en/function.create-function.php Edit -- https://master.php.net/note/edit/101660 Del: integrated -- https://master.php.net/note/delete/101660/integrated Del: useless -- https://master.php.net/note/delete/101660/useless Del: bad code -- https://master.php.net/note/delete/101660/bad+code Del: spam -- https://master.php.net/note/delete/101660/spam Del: non-english -- https://master.php.net/note/delete/101660/non-english Del: in docs -- https://master.php.net/note/delete/101660/in+docs Del: other reasons-- https://master.php.net/note/delete/101660 Reject -- https://master.php.net/note/reject/101660 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175405) next »