Re: Anonymous functions inside static methods.

From: Date: Fri, 09 May 2014 20:36:00 +0000
Subject: Re: Anonymous functions inside static methods.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74107@lists.php.net to get a copy of this message
Hi! > Until today I didn't even know you could declare a static anonymous > function, so I'm not really sure what the expected behavior is. Static anon function means no $this is captured if this function is declared within method and no $this will be available inside. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#74107) next »