Re: [VOTE] Scalar Type Hints
| From: | Pierre Joye | Date: | Sat, 07 Feb 2015 12:18:15 +0000 |
| Subject: | Re: [VOTE] Scalar Type Hints | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82094@lists.php.net to get a copy of this message | ||
On Feb 7, 2015 6:46 PM, "Matteo Beccati" <php@beccati.com> wrote:
>
> Hi Lars,
>
>
> On 07/02/2015 04:36, Lars Strojny wrote:
>>
>> My main concern is that the declare statement is
>> basically a better behaviour changing ini setting and PHPs history is
>> paved with those. I very much hope for scalar type hinting,
>> especially a strict variant but this is not what we should merge.
>
>
> Maybe it's just me, but I didn't quite understand the point you are
making here. Are you saying that declares are more or less like ini
settings?
Somehow related but for such things, a notion of package (aka the
discussions we had back then about namespace vs package) would be amazingly
handy here.