Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93424 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33516 invoked from network); 21 May 2016 06:10:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2016 06:10:47 -0000 Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.161.174 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.161.174 mail-yw0-f174.google.com Received: from [209.85.161.174] ([209.85.161.174:36053] helo=mail-yw0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/83-23824-4EBFF375 for ; Sat, 21 May 2016 02:10:46 -0400 Received: by mail-yw0-f174.google.com with SMTP id x189so128361341ywe.3 for ; Fri, 20 May 2016 23:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=hJNCzwJaQa73GiKw7O4a/OjNk2TeM43CE9B7sMQwg6Q=; b=rs3Sgr33fxQ9kIm0Nj6ELAhPnRMTjvsbD538jdez4vHmJQ+21RjZ+wCEQdLCWusuhv ewSewT9b5ndCkpnjo5G5W7/kkW2WkNXZsXYYeAV8C//4eh0tB+9b/R+cLORY5NMOIjeP dQR74zKTChcvJl5U8xj40O0+fjWhnen7iunEiRn0CsJ4TyObsYNUrVWfOFNwKrhHb7N1 uYvAq8Q9Ct+scwVIPsxG+GTGoQKa307tzKePgRVaUwGY3YXqxHsFU+ssJKOu8W68F45/ jd1kafwA9i4awDj1iJJMipo+RIcGD0/je6mHok5JCB58Sedt/BqQqyyEso+eA4cvHzyw EIWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=hJNCzwJaQa73GiKw7O4a/OjNk2TeM43CE9B7sMQwg6Q=; b=TUYsfmHcnu46QEJVM8l9V3+9EWDeG2anrvQQGPyfgumYiRJVcnJai/4tF0wmsPMzH3 u26WmAzdrdvJGXVT4XxPCk3srKm9ipJWS7wTmmX+Vqpqgn7JUIOLdZGuon3f8zRudsnL Gk5ttfsi9A6IlWYuYG3fvjWGNIxab3cqI8Fhj6+z0tR+w37u2EI5XlE/i8igIzaU3WJC t2QGKWExHKkzjn3BvZzYEnYuXH4UrrPo3SzLlIdascMT29cNCd9HApmh/w7mD2KQVrof dzUhgoIvTJHi24WkTO09J5mqCmD+aPHqHIwLQyCcYQM1zxYT+8weOVL0ymcawLe2M1hd /Q6Q== X-Gm-Message-State: AOPr4FV3RH7i7js46tv4ZNcjSiyf+Ku01aeaRXjTULou/39qcxgHthmEG3PyRxYCE83xGuHLY61bMTMfMQowVw== MIME-Version: 1.0 X-Received: by 10.37.202.198 with SMTP id a189mr4017249ybg.74.1463811042150; Fri, 20 May 2016 23:10:42 -0700 (PDT) Received: by 10.129.109.67 with HTTP; Fri, 20 May 2016 23:10:42 -0700 (PDT) X-Originating-IP: [109.157.60.67] In-Reply-To: <3df2a206-3bcc-df58-5f54-6047eb59bfa3@thefsb.org> References: <3df2a206-3bcc-df58-5f54-6047eb59bfa3@thefsb.org> Date: Sat, 21 May 2016 07:10:42 +0100 Message-ID: To: Tom Worster Cc: PHP internals , Phil Sturgeon Content-Type: multipart/alternative; boundary=94eb2c05581e2fbf81053354116c Subject: Re: [RFC][Vote] Typed Properties From: pthreads@pthreads.org (Joe Watkins) --94eb2c05581e2fbf81053354116c Content-Type: text/plain; charset=UTF-8 Morning Tom, > I guess yes on both to be consistent with coercion on function invocation but I couldn't find this mentioned in the RFC. Correct. I only made brief mention that the rules for coercion and strictness are reused. Cheers Joe On Fri, May 20, 2016 at 6:59 PM, Tom Worster wrote: > On 5/20/16 2:05 AM, Joe Watkins wrote: > >> Morning internals, >> >> Since we have our answer on nullable types, typed properties can now >> go >> to vote. >> >> https://wiki.php.net/rfc/typed-properties#vote >> >> Note that, support for nullability as RFC'd will be merged when the >> implementation for nullable_types is merged into master. >> >> Please participate. >> > > I lack suffrage but I have a question about coercion and strictness. > > When I assign a value to a property declared with scalar type, is it the > strictness of the file containing the assignment that controls if coercion > happens or not? And is the strictness of the file containing the > declaration irrelevant? > > I guess yes on both to be consistent with coercion on function invocation > but I couldn't find this mentioned in the RFC. > > Tom > > --94eb2c05581e2fbf81053354116c--