A thought -
In the event that explicit casting specifically does get tightened up,
what will become the suggested method for making a best-effort
conversion to an integer?
Personally I'm in favour of explicit casts being a bit more forgiving,
but in the event they're not, what will replace it as the recommended
inbuilt method that handles strings with whitespace and trailing junk?
Will there be one?
I'm aware that the most common IDEs suggest using (int) instead of intval.
--
Mark Randall
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php