On 02/04/2015 04:32 PM, Dan Ackroyd wrote: > btw For your exact example `sin((float)$x).` this is actually a case > where another scalar type of 'number' which is satisfiable by either a > float or an int would be useful, but that's definitely a step too far > before we have any scalar type hints.
We already have a name for that: numeric (is_numeric()). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php