Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10973 invoked from network); 7 Feb 2015 12:18:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Feb 2015 12:18:20 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:63775] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/13-27738-B8206D45 for ; Sat, 07 Feb 2015 07:18:19 -0500 Received: by mail-qg0-f43.google.com with SMTP id i50so4145368qgf.2 for ; Sat, 07 Feb 2015 04:18:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=02/NbY/6Am5unp96GTQIOubK0kMXv5awRcaUqFF3hiE=; b=SZbBtv3Tt5/JFALnHHcyNOSMQB79asJlOjmJ4679eVOtLRQk0aG4M7LNEpxVX+5CyY QjGIZiQnXqzUNf7PZfBiKhT0bB89hHOQWwAK9XhCDjEvVwrpMnW2fXFYarOHSwOehJuT ZYQrdbieswMclQoc22nOGoWxHWnngPf+9XEB1puQD2TKm5BQ61Aw4raMEhQuVBU/PRDN UcAQv/LkDcl3oleJ5cOOpuIZolhux41vo57BJzsbnYYVzvTeK+6ELDD5DHyi2/1Dcu3u bMm06Y2Car3SEyXHVelvtG9GfSFnU/bFwu/Vec+mFP7gzeB+RqPqeAgikHoWWLSncrqz PA0A== MIME-Version: 1.0 X-Received: by 10.140.100.226 with SMTP id s89mr18348500qge.96.1423311496581; Sat, 07 Feb 2015 04:18:16 -0800 (PST) Received: by 10.96.3.168 with HTTP; Sat, 7 Feb 2015 04:18:15 -0800 (PST) Received: by 10.96.3.168 with HTTP; Sat, 7 Feb 2015 04:18:15 -0800 (PST) In-Reply-To: <54D5FB10.1040100@beccati.com> References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <41EBB3A7-4AFC-4A73-B9AA-CD7129ACF9F0@strojny.net> <54D5FB10.1040100@beccati.com> Date: Sat, 7 Feb 2015 19:18:15 +0700 Message-ID: To: Matteo Beccati Cc: Lars Strojny , PHP internals , Andrea Faulds Content-Type: multipart/alternative; boundary=001a11c16f08289a87050e7e8858 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: pierre.php@gmail.com (Pierre Joye) --001a11c16f08289a87050e7e8858 Content-Type: text/plain; charset=UTF-8 On Feb 7, 2015 6:46 PM, "Matteo Beccati" wrote: > > Hi Lars, > > > On 07/02/2015 04:36, Lars Strojny wrote: >> >> My main concern is that the declare statement is >> basically a better behaviour changing ini setting and PHPs history is >> paved with those. I very much hope for scalar type hinting, >> especially a strict variant but this is not what we should merge. > > > Maybe it's just me, but I didn't quite understand the point you are making here. Are you saying that declares are more or less like ini settings? Somehow related but for such things, a notion of package (aka the discussions we had back then about namespace vs package) would be amazingly handy here. --001a11c16f08289a87050e7e8858--