Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98286 invoked from network); 20 May 2016 15:47:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2016 15:47:36 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.181 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.181 mail-io0-f181.google.com Received: from [209.85.223.181] ([209.85.223.181:34891] helo=mail-io0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/41-23824-6913F375 for ; Fri, 20 May 2016 11:47:34 -0400 Received: by mail-io0-f181.google.com with SMTP id p64so59112140ioi.2 for ; Fri, 20 May 2016 08:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=S8flrL+gRtks4t/SCjPgWKuGGSvcU+DxVCVDeTn8Cqw=; b=t3YW3mEa/kdjcimnWfhAuKz4K2U2x9g62I4mzngU5OyHSiyV9P++EZXLmnXyQ2YcFL kvwLJqO06I9IWNG1VBD/oTMq0P85LGM+jJLSIAZz7yeKVJks6/QQh3pOcU8S11ekKMoe xAmUAVr7SIwBK6KeTi/JadlGXuZR9flBIqCt2Fyw3b9OcWrBpbFJnaUtG3PRFANkSVLY pV9qEYiRnEywNLN5hxSn6dXP1L9I1oDv3BXV7HZAmgIh5hqPcALpJFIPhdTQbBAz9Zu7 oODS02kLrxG4JKxydubUPHMXXbXXWrxnSMoVNhmoKxN8Tt/fxIjzbLmXg1pdD/qdD7WJ /4iA== 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:from:date :message-id:subject:to:cc; bh=S8flrL+gRtks4t/SCjPgWKuGGSvcU+DxVCVDeTn8Cqw=; b=JJ21VzT2obsn6k6AKmveJZpG0nlCVqicTTBLpDzl9NNkITImcDQld9KBWaeiwe0Rl0 +rY0Bf0zbti3V0rkAjkxhVlmGLGSgnfGvh/uRfsPLliFgBNi2al5jdC4P1xZdV9IHuF4 0B+B87mXs4rckuw9R2BzsPDNfGtiKwZY4yD1YYjKdDtj/pb/wEESePgFn/OyxsdBsbJR V4J9sPYULa1SLb2nNEFsgZf+j+EQELRLXVORGvwB8/x2zx8lch9eB8mzg076GNf9TlXE +WfAvAmvTRnz8Pdz1JCNDIgD3rZcrNy4/TK0EE98+U7g+0d2RbfM+7s3VASW/4AG/7Tf 5nVA== X-Gm-Message-State: AOPr4FUmKoKfMFOzF4aAjE5h0QsvKMJmCjRgveK1DWBjI1ux9qKftmOwL2pHFFe00xjm8GlA56BiDNyfxtc9Jw== X-Received: by 10.36.65.138 with SMTP id b10mr3543295itd.77.1463759251428; Fri, 20 May 2016 08:47:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.70.162 with HTTP; Fri, 20 May 2016 08:47:12 -0700 (PDT) In-Reply-To: <573ED827.7030007@lsces.co.uk> References: <573ED827.7030007@lsces.co.uk> Date: Fri, 20 May 2016 11:47:12 -0400 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1144805437e82605334802de Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a1144805437e82605334802de Content-Type: text/plain; charset=UTF-8 Joe, I fixed a minor typo in the RFC, hope you didn't mind. =) On Fri, May 20, 2016 at 5:25 AM, Lester Caine wrote: > On 20/05/16 07:05, 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. > > I have just realised exactly why I have a problem with most of this ... > Domain! Used as an 'OtherThing' > > This is ALSO attributes, since an SQL domain defines all of the > attributes that I need to handle in relation to variables. 'int' on it's > own does very little since one still needs to add all the other checks, > but adding 'types' as a properly formatted domain solves all the > problems I'm looking at ... and leaves plenty of room for others to > abuse the in their own way? > > > http://www.firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-ddl-domn.html > > Note such elements as [] to allow for arrays of a datatype > although that still leaves the handling of mix arrays. > > Some of the conditions may seem irreverent, but if the domain is a set > of keys for an array that logic then makes sense? > > I can even see the addition of a 'read only' flag to solve that problem > while still constraining the initial setting of a domain. > > But this is simply user land code and does not need a small subset of > elements of it added to the code base? > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco Lead Architect at E-Block --001a1144805437e82605334802de--