On 26/02/15 08:05, François Laupretre wrote:
> You're probably right but I don't understand what you mean with 'casting'. 
> AFAIK, we are not touching casting rules, implicit or explicit.

BUT ... While Coercive Type Rules don't actually cast, they fail in
different ways to what the cast would have been, so someone who HAS cast
the value before calling then fails simply because the rules are
different? I have never used things like 100kg, and I don't see an easy
way to convert that to perhaps 100000 gms, but it is a basic part of
current PHP so ANY dilution of that should be covered properly.
Introducing new rules should mirror across all relevant areas, and I
find this a big negative to Coercive STH. But Strict STH is equally bad
since again it is not equally applied across all code. One 'cherry
picks' when to switch on Strict, one changes the rules that don't fit
for Coercive. Neither deserve acceptance because both are only creating
more divergence.

-- 
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to