On 12/20/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 20.12.2007 09:57, Alexey Zakhlestin wrote: > > being able to do the following (and not to worry about runtime > > compilation) is a good reason on it's own: > > > > array_filter($my_data, function($test){ return 3 === ($test % 4) }); > > Oh, my.. > This code clearly demonstrates why a syntax like this should not be allowed. > Ever.
you prefer cluttering namespace with a lot of oneliners? currently, people prefer to use explicit cycles instead of array_map/array_filter and that looks ugly (hides actual logic behind syntax), but at least it is not as slow as create_function. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php