Re: What do we need strict scalar type hints for?
From: S.A.N Date: Wed, 04 Feb 2015 15:55:28 +0000 Subject: Re: What do we need strict scalar type hints for? References: 1 2 3 4 5 6 7 8 9 10 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
We all external data convert to native PHP types. The database we use option MYSQLI_OPT_INT_AND_FLOAT_NATIVE. HTTP inputs are validated and converted to native PHP types. In Redis data are stored as serialize string. Strong typing I like.
Thread (78 messages)