note 104974 added to functions.anonymous

From: Date: Tue, 19 Jul 2011 14:19:06 +0000
Subject: note 104974 added to functions.anonymous
Groups: php.notes 
Request: Send a blank email to php-notes+get-181699@lists.php.net to get a copy of this message
I have to say this anonymous function is the worst feature ever to implemented into PHP, not only does it violate all standards, it has not real purpose or structure to exist. Example: $myFunction = function($arg1, $arg2) { // some stuff } should be; variables are for variable data not confusing people with anonymous function. function myFunction($arg1, $arg2) { // some stuff } I would NOT recommend this approach to PHP, neither would I even consider using it, it's just plain vile. ---- Server IP: 69.147.83.197 Probable Submitter: 81.145.190.131 ---- Manual Page -- http://www.php.net/manual/en/functions.anonymous.php Edit -- https://master.php.net/note/edit/104974 Del: integrated -- https://master.php.net/note/delete/104974/integrated Del: useless -- https://master.php.net/note/delete/104974/useless Del: bad code -- https://master.php.net/note/delete/104974/bad+code Del: spam -- https://master.php.net/note/delete/104974/spam Del: non-english -- https://master.php.net/note/delete/104974/non-english Del: in docs -- https://master.php.net/note/delete/104974/in+docs Del: other reasons-- https://master.php.net/note/delete/104974 Reject -- https://master.php.net/note/reject/104974 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#181699) next »