Re: Inconsistencies in 5.3

From: Date: Wed, 06 Aug 2008 14:25:13 +0000
Subject: Re: Inconsistencies in 5.3
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-39698@lists.php.net to get a copy of this message
Stanislav Malyshev wrote:
Hi!
function ($arg) { use $a, &$b;
Note that neither static not global allow & inside definitions, so from "consistency" point of view it doesn't work.
What a nitpicking :) So would I say that the global statement is inconsistent with static because it doesn't allow assignments within the statement :p Moriyoshi

« previous php.internals (#39698) next »