Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85042 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99860 invoked from network); 16 Mar 2015 12:26:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 12:26:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:33984] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/36-03331-BFBC6055 for ; Mon, 16 Mar 2015 07:26:37 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 2B157E202F; Mon, 16 Mar 2015 12:26:31 +0000 (GMT) Date: Mon, 16 Mar 2015 12:26:31 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Jordi Boggiano cc: internals@lists.php.net In-Reply-To: <5506C783.3020207@seld.be> Message-ID: References: <55066F07.80308@birkholz.biz> <5506794B.8090008@birkholz.biz> <5506C783.3020207@seld.be> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-1736864791-1426508791=:4205" Subject: Re: [PHP-DEV] About declare(strict_types = 1) From: derick@php.net (Derick Rethans) --8323329-1736864791-1426508791=:4205 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 16 Mar 2015, Jordi Boggiano wrote: > On 16/03/2015 11:49, Pavel Kou=C5=99il 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. >=20 > ini_set('memory_limit', 10); also changes how your code behave And so does "namespace Foo; use Foo/DateTime as DateTime;" - on exactly=20 the same level as "declare"... cheers, Derick --8323329-1736864791-1426508791=:4205--