Bug #67924 [NEW]: Closure and lambda problem

From: Date: Thu, 28 Aug 2014 13:05:19 +0000
Subject: Bug #67924 [NEW]: Closure and lambda problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187315@lists.php.net to get a copy of this message
From: tin dot legall at wishgroupe dot com Operating system: Debian PHP version: 5.4.32 Package: Scripting Engine problem Bug Type: Bug Bug description:Closure and lambda problem Description: ------------ Take example #2 at the following address and switch $double and $number declarations http://php.net/manual/en/language.types.callable.php Expected result: ---------------- 2 4 6 8 10 Actual result: -------------- 1 2 3 4 5 -- Edit bug report at https://bugs.php.net/bug.php?id=67924&edit=1 --

« previous php.bugs (#187315) next »