[PHP-DEV] Closures and __FUNCTION__

2009-04-11 Thread Peter Danenberg
The original anonymous functions patch[1] contained support for __FUNCTION__ as a recursion mechanism in closures, such that I should be able to do something like this: $factorial = function($n) { if ($n == 1) return 1; else return $n * call_user_func(__FUNCTION__, $n

[PHP-DEV] Re: [PHP-CVS] cvs: php-src(PHP_5_3) /ext/iconv iconv.c

2009-04-11 Thread Hannes Magnusson
Ilia? I guess the chances of getting this merged Moriyoshi will increase by 100% if you have a testcase.. -Hannes On Tue, Mar 17, 2009 at 07:31, Moriyoshi Koizumi wrote: > moriyoshi               Tue Mar 17 05:31:04 2009 UTC > >  Modified files:              (Branch: PHP_5_3) >    /php-src/ext/