On 20/02/15 05:49, Zeev Suraski wrote: > Pardon me for saying so, but I don't think you're on to a huge scoop here. > Scalar type hints - of all the kinds we've been talking about here, be them > strict, weak or coercive - can be easily emulated with a couple of lines of > code, we all know that. It's been known for years that strict hints are > is_*() else error equivalent, that weak hints are (mostly) just casts, etc. > Saying the class type hints can be emulated with is_a() calls wouldn't shock > anybody either.
I think I may have realised just why *I* am having a problem with a lot of this discussion ... I've used ADOdb from day one which already does this ... *I* had not realised that core PHP did not bother with the management of data types that ADOdb is layering on top ... Hence my question yesterday which I will reword ... If PHP creates a new variable what does it store by default? -- 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