Re: About declare(strict_types = 1)
| From: | Pavel Kouřil | Date: | Mon, 16 Mar 2015 12:40:03 +0000 |
| Subject: | Re: About declare(strict_types = 1) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85047@lists.php.net to get a copy of this message | ||
On Monday, March 16, 2015, Derick Rethans <derick@php.net> wrote:
> 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
>
>
Hello,
sorry, but your comparison doesn't make ANY sense whatsoever.
Regards
Pavel Kouril