Hi:
base on feature request: https://bugs.php.net/bug.php?id=60408 , I
wrote a patch to make php support const array/string dereference
rfc is here, https://wiki.php.net/rfc/constdereference
any opinions?
thanks
--
Laruence Xinchen Hui
http://www.laruence.com/
--
PHP Internals - PH
Morfi, see my mail in this thread. Still no answer to this question.
With regards, Alexander Moskaliov
ir...@irker.net
2011/11/30 Morfi
> Why not possible?
>
> $result = ($model = new DomainModel('foo', 'bar'))->findByName('John');
>
>
>
Why not possible?
$result = ($model = new DomainModel('foo', 'bar'))->findByName('John');
On Wed, Nov 30, 2011 at 5:55 AM, Rasmus Lerdorf wrote:
> On 11/29/2011 05:22 PM, de...@lucato.it wrote:
> > Hi Rasmus,
> >
> > I already tested a similar example (see
> > http://codepad.viper-7.com/tNkTTX
On 11/29/2011 05:22 PM, de...@lucato.it wrote:
> Hi Rasmus,
>
> I already tested a similar example (see
> http://codepad.viper-7.com/tNkTTX) but I'm getting
Sorry, pasting something into codepad doesn't qualify as testing. You
have no idea how and when they built the 5.4 they are running. Until
Hi folks,
2011/11/29 Yasuo Ohgaki :
> I updated wiki page to remove draft status.
>
> https://wiki.php.net/rfc/strict_sessions
>
> Any corrections and comments are appreciated.
I think I've wrote everything needed into the Wiki page to understand
the issue, so I changed status to "Under Discussio
Hi Rasmus,
I already tested a similar example (see http://codepad.viper-7.com/tNkTTX)
but I'm getting
> *Parse error*: syntax error, unexpected '->' (T_OBJECT_OPERATOR)
so my question... I thought this feature was part of 5.4 considering the
previous messages, perhaps it is not.
Devis
On 30 N
Hi,
is the new dereferencing syntax definitely part of 5.4 ?
Will it be possible to replace this:
$model = new DomainModel('foo', 'bar');
$result = $model->findByName('John');
with:
$result = (new DomainModel('foo', 'bar'))->findByName('John');
?
Thank you
Devis
On 21 November 2011 07:59,
On 11/29/2011 04:49 PM, de...@lucato.it wrote:
> Hi,
>
> is the new dereferencing syntax definitely part of 5.4 ?
>
> Will it be possible to replace this:
>
> $model = new DomainModel('foo', 'bar');
> $result = $model->findByName('John');
>
> with:
>
> $result = (new DomainModel('foo', 'bar'))
Hi Folks:
There's a minor difference between the output of "configure --help"
between PHP_5_3 and PHP_5_4. The change makes it hard to tell what the
default values are for some options.
The options impacted are those defined in configure.in using
PHP_ARG_WITH. A simple example is --with-layout