Re: [RFC Discussion] Typed Properties
| From: | Lester Caine | Date: | Sat, 19 Mar 2016 12:29:03 +0000 |
| Subject: | Re: [RFC Discussion] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91775@lists.php.net to get a copy of this message | ||
On 19/03/16 12:17, Fleshgrinder wrote:
> You are mixing to things like I did. If you never unset and never assign
> then the value of the property is *null* or as I defined to avoid
> confusion *void*. All fine. The question was, should this result in an
> error and the general consensus here is /no/.
My point is that $object->property = null; after the object has been
'constructed' is still a valid assignment ... the object's content may
well be changed by changing the loaded object id.
--
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