Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93511 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94259 invoked from network); 25 May 2016 15:57:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2016 15:57:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=neclimdul@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=neclimdul@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.46 as permitted sender) X-PHP-List-Original-Sender: neclimdul@gmail.com X-Host-Fingerprint: 209.85.218.46 mail-oi0-f46.google.com Received: from [209.85.218.46] ([209.85.218.46:34566] helo=mail-oi0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/C2-14311-48BC5475 for ; Wed, 25 May 2016 11:57:56 -0400 Received: by mail-oi0-f46.google.com with SMTP id b65so85594847oia.1 for ; Wed, 25 May 2016 08:57:56 -0700 (PDT) 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; bh=ko7Mnp98EwYAfZXu7bQZzdtEFB/gDgk8RWHLjIT/9Lg=; b=oW7Nn939QJMIpluzRizbVaEMJA4Jc4hs65Ccnf2ES5AnzkLTqgjx/y8QU1+8oIY1L6 tnkoYtU5Rseg6Jwx9/O807hutM4cXbd4xrKwVFhFng748d+RaL2RqBjQlXiqVVxayDGR mY8yfMQ9FzYRyK8+mWLvwVUDNxstKFmT1nMgEWYrfoyLHsLm4+wN3NFpCR8BxwunAfMk dT+ocUrZgq41bWXCdcu/pYTN9BMaH/DZEFbmXEWpiwkg5KS04OPqfg6+kPL7g48VJjem AXb6lhhuLZiPFgPFJUiqrmIpBxdiVqYmc7jvR+Oc3kgccMQYpc8jtxUPsINF7XX9jtDv 7w1A== 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; bh=ko7Mnp98EwYAfZXu7bQZzdtEFB/gDgk8RWHLjIT/9Lg=; b=I+akYO5UrOsWlQ6vi0rtBxoPTxCBuHIamA4asjLzu9ongY0HXWrRdWO6BoE3szfH3P vNIOuFZWv8J1Tols6PqwkfQsfad3kRvjf/1sJrCJevO/Yl0BE3NXpNsip+4v3BslWVcf qr1gJSzBIi2avCbua9SMt8qOFuCrwcLd2d4AtKz/BDZoGWFviCtQm4DfiEWmlL/6chGi GwJfqctYHZGCqHYk1loHiVPwrPIsOIF4+R8pP1xnRON63wRTZubqgl3pZZ3fz3O55AZk 7vcXnq60Pf2nimTVLdm7Kh9Hw6t1NGUpGk2AutV9tkEr42lz063DBt4Uh79X12VHlMKo dfxA== X-Gm-Message-State: ALyK8tKI/OcMcV98FcD0z7uO2ui8xu2y8Ok354Tlv+lPDgG3C/QNSc08TL5HbJlv+63MkI0DbMSw9cInpP7PIw== MIME-Version: 1.0 X-Received: by 10.157.5.210 with SMTP id 76mr2559706otd.161.1464191873853; Wed, 25 May 2016 08:57:53 -0700 (PDT) Received: by 10.182.162.106 with HTTP; Wed, 25 May 2016 08:57:53 -0700 (PDT) In-Reply-To: <7B.12.14311.F79C5475@pb1.pair.com> References: <7B.12.14311.F79C5475@pb1.pair.com> Date: Wed, 25 May 2016 10:57:53 -0500 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11358a36862feb0533acbce8 Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: neclimdul@gmail.com (James Gilliland) --001a11358a36862feb0533acbce8 Content-Type: text/plain; charset=UTF-8 This is a cool idea and continuation of the typing systems so I've been sort of skimming this thread as its been discussed and this example and the associated errors caught my attention. > class C { > public $a; > public int $b; > public ?int $c; > } > $obj = new C; > Excuse me if this has been addressed but to clarify, using that snippet, would this also throw an error? var_dump($obj); If so, I see a lot of cursing in my future if this goes in. Like "what's the bad data on this object that's getting in here? aww #$%^ that deprecated property wasn't set so the whole thing blew up!" sort of cursing. :( --001a11358a36862feb0533acbce8--