On 01/06/2012 07:46 PM, Antony Dovgal wrote:
> On 01/06/2012 09:06 PM, Steven VAN POECK wrote:
>> I may be doing this wrong, but on a fresh Debian 6.03 install on a
>> VMWare VM (VMWare tools installed, build-essential installed), the
>> php5.4 rc4 tarball from snaps.php.net (php5.4-201201041830.ta
While
c();
};
}
}
compiles as expected with PHP 5.4, the following
c();
};
}
}
results in
Fatal error: Cannot use $this as lexical variable in ...
This is because
void zend_do_fetch_lexical_variable(znode *varname,
zend_
Hi!
is still in zend_compile.c. IIRC, this code was added in PHP 5.3 to
prevent $this from being used as a lexical variable. It should no
longer be required in PHP 5.4. Right?
Why you need to add $this there? $this should be available automatically
IIRC unless you make the closure st
Am 07.01.2012 10:34, schrieb Stas Malyshev:
> Why you need to add $this there? $this should be available automatically
> IIRC unless you make the closure static.
That is not the point I wanted to make. Explicitly listing $this in
use() should not trigger a compiler error, IMHO.
I just wanted t
Hi,
On Jan 7, 2012 10:41 AM, "Sebastian Bergmann" wrote:
>
> Am 07.01.2012 10:34, schrieb Stas Malyshev:
> > Why you need to add $this there? $this should be available automatically
> > IIRC unless you make the closure static.
>
> That is not the point I wanted to make. Explicitly listing $this
Hi!
As we are nearing the release of 5.4.0, I'd like to ask everybody not to
commit anything to 5.4 branch without the approval of one of the RMs
(myself or David) from now until release of 5.4.0. Unless something
critical for 5.4.0 is found, we'd like RC6 (planned on Jan 19) to be the
final