Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58144 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82460 invoked from network); 27 Feb 2012 16:08:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2012 16:08:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:36969] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/7A-40985-B7AAB4F4 for ; Mon, 27 Feb 2012 11:08:28 -0500 Received: by wibhm4 with SMTP id hm4so3354364wib.29 for ; Mon, 27 Feb 2012 08:08:25 -0800 (PST) Received-SPF: pass (google.com: domain of keisial@gmail.com designates 10.180.109.193 as permitted sender) client-ip=10.180.109.193; Authentication-Results: mr.google.com; spf=pass (google.com: domain of keisial@gmail.com designates 10.180.109.193 as permitted sender) smtp.mail=keisial@gmail.com; dkim=pass header.i=keisial@gmail.com Received: from mr.google.com ([10.180.109.193]) by 10.180.109.193 with SMTP id hu1mr20615969wib.17.1330358905380 (num_hops = 1); Mon, 27 Feb 2012 08:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=cyfw+X+ZH0lGO0ba+DpG8woFxHfbNZ6BjM+gIxFdwok=; b=mpu8ZDs4HWEpS7/YdZppJqWG0ykp6UKKxKVLo+TuaA5V3lsLMTiVXq5rRVIhn6PRts vHuaon/dbycoSCoX8saLUkSrBJz5VnFHvfD3ER1rg1TMhW+yqAbJ+y4ei0zr1mgx/RyK +N6TA/35HyoUD3HBnNZP8VaBHW+62KPgen8DQ= Received: by 10.180.109.193 with SMTP id hu1mr16267064wib.17.1330358905321; Mon, 27 Feb 2012 08:08:25 -0800 (PST) Received: from [192.168.1.26] (71.red-80-28-70.adsl.dynamic.ccgg.telefonica.net. [80.28.70.71]) by mx.google.com with ESMTPS id be4sm21525989wib.8.2012.02.27.08.08.18 (version=SSLv3 cipher=OTHER); Mon, 27 Feb 2012 08:08:20 -0800 (PST) Message-ID: <4F4BAB98.8080307@gmail.com> Date: Mon, 27 Feb 2012 17:13:12 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Kris Craig CC: Tom Boutell , internals@lists.php.net References: <4F496818.8000405@sugarcrm.com> <4F4982BF.8090102@sugarcrm.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050708080200060700060105" Subject: Re: [PHP-DEV] [RFC] Enum proposal (yet another) From: keisial@gmail.com (=?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?=) --------------050708080200060700060105 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/02/12 01:33, Kris Craig wrote: > Exactly, hence why I'm still on the fence with that. I was hoping for some > further discussion though to see if anyone can think of a way around that, > though admittedly nothing comes to my mind. > > --Kris That's why I mentioned the possibility of having such option per file. declare(stricttypes=1) { // Code here } Or just declare(stricttypes=1); to apply to the whole file --------------050708080200060700060105--