On Wed, Feb 25, 2015 at 4:30 AM, Dmitry Stogov wrote:
> anyone may tell, what this will print without running :)
>
> main.php
>
> declare(strict_types=1)
> include "a.php";
> include "b.php";
> var_dump(foo("5"));
> ?>
>
> a.php
> =
> declare(strict_types=0)
> function foo(string $
On Sat, Feb 21, 2015 at 2:39 PM, Pavel Kouřil wrote:
> On Sat, Feb 21, 2015 at 11:25 PM, Zeev Suraski wrote:
> > There’s a fundamental difference between the two RFCs that goes beyond
> > whether using a global INI setting and the other per-file setting. The
> > fundamental difference is that t
> Really, you should thank Nikita, not me. He wrote the patch. ^^
He gets my bag of thanks for many things.
> Well, the patch is written for master. It could be back ported, but I
don’t know how.
> Also, even if there is a 5.7, it sounds like it will consist purely of
bug fixes and E_DEPRECATED w
This will be a nice addition. Kudos to you!
Is there an issue targeting next minor for this? (assuming there is one)
Hi Andrea
Rather than giving a new meaning to an old operator why not have a
different operator for this?
.NET has a 'null coalescing' operator for the same purpose which works out
quite well in the given situation
and is non-ambiguous as well.
http://msdn.microsoft.com/en-us/library/ms173224.aspx