Re: About declare(strict_types = 1)

From: Date: Mon, 16 Mar 2015 12:26:31 +0000
Subject: Re: About declare(strict_types = 1)
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-85042@lists.php.net to get a copy of this message
On Mon, 16 Mar 2015, Jordi Boggiano wrote: > On 16/03/2015 11:49, Pavel Kouřil wrote: > > it's similiar to the safe_mode though. Sure, it's not as bad as INI > > setting, but the "intent" is the same - a switch changing how code > > behaves. > > ini_set('memory_limit', 10); also changes how your code behave And so does "namespace Foo; use Foo/DateTime as DateTime;" - on exactly the same level as "declare"... cheers, Derick

« previous php.internals (#85042) next »