Re: [RFC][Vote] Typed Properties
| From: | Fleshgrinder | Date: | Fri, 27 May 2016 08:31:57 +0000 |
| Subject: | Re: [RFC][Vote] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93597@lists.php.net to get a copy of this message | ||
On 5/26/2016 11:40 PM, Rowan Collins wrote:
> On 26/05/2016 21:00, Fleshgrinder wrote:
>> PS: This needs a cast unless some special driver options are active.
>>
>> $me->numSiblings = (int) $db_record['num_siblings'];
>
> ...or unless strict_types=0, in which case PHP will add an implicit cast
> for you. :)
>
> Regards,
>
I need to get used to that nice new feature. ;)
--
Richard "Fleshgrinder" Fussenegger
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc