Re: PHP7 / foreach / references / ugly code / discrepancy to PHP 5.6

From: Date: Tue, 10 Nov 2015 19:47:31 +0000
Subject: Re: PHP7 / foreach / references / ugly code / discrepancy to PHP 5.6
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-89156@lists.php.net to get a copy of this message
Hey Nikita, On 10 November 2015 at 11:45, Nikita Popov <nikita.ppv@gmail.com> wrote: > This is a bug in PHP 5, which has been fixed in PHP 7 as a side-effect of > other changes. The new behavior is correct. This issue is tracked at > https://bugs.php.net/bug.php?id=70857. Are there any other variations on what expressions this changes the behaviour of, or is it really just ternaries? Just trying to figure out how to document this. Thanks, Adam

« previous php.internals (#89156) next »