Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89219 invoked from network); 27 May 2016 12:41:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2016 12:41:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.89 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.89 mx108.easyname.com Received: from [77.244.243.89] ([77.244.243.89:35342] helo=mx204.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/98-37127-19048475 for ; Fri, 27 May 2016 08:41:54 -0400 Received: from cable-81-173-133-15.netcologne.de ([81.173.133.15] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1b6H5K-0007vr-6x; Fri, 27 May 2016 12:41:50 +0000 Reply-To: internals@lists.php.net References: <20160525215208.034FC1A801B3@dd1730.kasserver.com> <5fd54aa0-4fdf-c1e7-eae8-765aa89c8498@fleshgrinder.com> <08963b03-8394-6d62-4e5b-393f3fcb5647@fleshgrinder.com> <9e9db70d-d72d-d93e-0c81-18c2aa228618@gmail.com> <409002d8-b5e3-5990-7358-246adc7e3cab@fleshgrinder.com> <57474A08.80807@lsces.co.uk> <6f7403b6-bf22-a12b-dfb2-43fe82983e7d@fleshgrinder.com> <57474F9C.6080104@lsces.co.uk> <1733cfce-001b-1079-e929-88f7dde0f2dd@gmail.com> <57475F27.3090306@lsces.co.uk> <34edcbd1-2d6a-cd52-7bbb-c393ab62d32d@gmail.com> <574772BA.3030305@lsces.co.uk> <5748164C.7020803@lsces.co.uk> <5156d2d3-6c7b-b5d0-fdfd-9064d8fb1d58@fleshgrinder.com> <57483EC9.3000501@lsces.co.uk> To: Lester Caine , internals@lists.php.net Message-ID: <850825d9-d310-92a9-6575-d821076ad813@fleshgrinder.com> Date: Fri, 27 May 2016 14:41:32 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <57483EC9.3000501@lsces.co.uk> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L41Vbam86QFwkwCq9wXThAn1OSA3fOqEX" X-ACL-Warn: X-DNSBL-BARRACUDACENTRAL Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: php@fleshgrinder.com (Fleshgrinder) --L41Vbam86QFwkwCq9wXThAn1OSA3fOqEX Content-Type: multipart/mixed; boundary="HQjTF8cFGmrAL39V3RLbfHjADgAh7Nomj" From: Fleshgrinder Reply-To: internals@lists.php.net To: Lester Caine , internals@lists.php.net Message-ID: <850825d9-d310-92a9-6575-d821076ad813@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties References: <20160525215208.034FC1A801B3@dd1730.kasserver.com> <5fd54aa0-4fdf-c1e7-eae8-765aa89c8498@fleshgrinder.com> <08963b03-8394-6d62-4e5b-393f3fcb5647@fleshgrinder.com> <9e9db70d-d72d-d93e-0c81-18c2aa228618@gmail.com> <409002d8-b5e3-5990-7358-246adc7e3cab@fleshgrinder.com> <57474A08.80807@lsces.co.uk> <6f7403b6-bf22-a12b-dfb2-43fe82983e7d@fleshgrinder.com> <57474F9C.6080104@lsces.co.uk> <1733cfce-001b-1079-e929-88f7dde0f2dd@gmail.com> <57475F27.3090306@lsces.co.uk> <34edcbd1-2d6a-cd52-7bbb-c393ab62d32d@gmail.com> <574772BA.3030305@lsces.co.uk> <5748164C.7020803@lsces.co.uk> <5156d2d3-6c7b-b5d0-fdfd-9064d8fb1d58@fleshgrinder.com> <57483EC9.3000501@lsces.co.uk> In-Reply-To: <57483EC9.3000501@lsces.co.uk> --HQjTF8cFGmrAL39V3RLbfHjADgAh7Nomj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/27/2016 2:34 PM, Lester Caine wrote: > Hence the 'in an ideal world'! It is perhaps worth making clear that a > 'typed property' element IS simply a holder for the pointer to the real= > element while the untyped properties are the element themselves? The > differentiation of 'scalar' probably comes into play, but does that > result in untyped scalers having to have the overheads for adding the > type flags? >=20 Nope, they both work exactly the same way. Typed properties just guard the properties from assignment of values that are not typed hinted agains= t. I don't know what you mean with untyped scalars. Every variable always has a type. It is up to you if you care about it or not. On 5/27/2016 2:34 PM, Lester Caine wrote: > And 32bit builds mess things up as well ... >=20 YES! On 5/27/2016 2:34 PM, Lester Caine wrote: > With the proviso that $o is not used again ... currently all of my > object classes have a constructor for a blank object along with a loade= r > to 'initialize' the data. Empty objects such as 'father' can be > populated with data and saved, loaded with an existing record, or wiped= > if incorrect associations existed ... allowing the correct data to be > added. AJAX allows things to happen within a page which in the past > would have been complete new page loads without any of the problems of > 'cached' data? >=20 Sounds like bad design to me where you always need to know when to call what and when what was called but if it works for you. :) --=20 Richard "Fleshgrinder" Fussenegger --HQjTF8cFGmrAL39V3RLbfHjADgAh7Nomj-- --L41Vbam86QFwkwCq9wXThAn1OSA3fOqEX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXSECBAAoJEOKkKcqFPVVre+AP/34ftjKkYj8hNrM0yBf5/htN QQK6W0aQpWOdE9TbpJ1sTy9joL9KqIJXyQbqIqWym83VMde5jHBvlJdIbk9kLILc mO4AdqyZOHm0+dsDKvHtRLebbnDNUkoE83BC8BEAZch+3c96KjglROraY7qBejtn uFONM65a6uZfBwoAQMTVDsqsFKUXBkNKeVDLHkTK8it/E4Aia0DbNdzO4alcmJzi UaXSDFxfWmtWV6aQnbKC7/yQsvTYs/ZfR1x+jFwADn50v6TklQIDxpr5+diQt9mW BWNmm0fE7fbWVaz2faiA3r+ttVXBBiJpJZBcdV09M+q8mCH0kN+kJgTbeOAf8XVQ xVul1xjPu06elzguDZQiHWlUIj915lOFlbHpSL8ZdiNKL59izjm0Fg3c/Ryx3mIG odHEhrh4qeyykrSrNHmoj321LOYseH3TDlxXtZpl4AxAuK3UnoaKY8ULoBfJ4gDJ W6LGd//njB9f+29g/eM+EVIYyZlbwklDHmV+XcVeK6DezB3gO+RLO5HqS4MiQM0c jOSrVWclMCym6dESam/UjIQ7mmOrUMbr42RTMZYVeZrcV0xp2oYcKe46ahFGBHH4 VFtoAMjauhLmMadA4CPjSrcchLJg+rThQMAhuZ6WbxGpQjDo7fLcai5ux5Apjeoe GRyyWZv4hbCuPsTXSpCy =Wuxp -----END PGP SIGNATURE----- --L41Vbam86QFwkwCq9wXThAn1OSA3fOqEX--