Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42013 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22073 invoked from network); 21 Nov 2008 19:34:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2008 19:34:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=dwarf@girsbrain.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dwarf@girsbrain.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain girsbrain.org from 209.85.221.20 cause and error) X-PHP-List-Original-Sender: dwarf@girsbrain.org X-Host-Fingerprint: 209.85.221.20 mail-qy0-f20.google.com Received: from [209.85.221.20] ([209.85.221.20:58912] helo=mail-qy0-f20.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/80-18766-94D07294 for ; Fri, 21 Nov 2008 14:34:33 -0500 Received: by qyk13 with SMTP id 13so1012897qyk.23 for ; Fri, 21 Nov 2008 11:34:30 -0800 (PST) Received: by 10.215.15.2 with SMTP id s2mr785417qai.324.1227296070876; Fri, 21 Nov 2008 11:34:30 -0800 (PST) Received: by 10.214.79.13 with HTTP; Fri, 21 Nov 2008 11:34:30 -0800 (PST) Message-ID: Date: Fri, 21 Nov 2008 14:34:30 -0500 To: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_156291_14758626.1227296070856" References: Subject: Re: [PHP-DEV] Anonymous Function From: dwarf@girsbrain.org ("James Logsdon") ------=_Part_156291_14758626.1227296070856 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline PHP 5.3 has anonymous functions. James Logsdon On Fri, Nov 21, 2008 at 2:27 PM, Kenan R Sulayman wrote: > Hey out there! > I've got a maybe simple question: > Where the point of not implementing anonymous functions in php alike > javascript? > > Par example: > As normally used: > $c = create_function(~, ~); > ?> > Suggestion: > $c = function (~) { ~ } > ?> > > > More Simple, have a better point of view and a bit easier. < > > Your, > -- > (c) Kenan Sulayman > Freelance Designer and Programmer > > Life's Live Poetry > ------=_Part_156291_14758626.1227296070856--