Re:Making PHP Safer
by kijin on Saturday February 01, 2014 @12:51AM
(#7160996)
Or something like "numeric" that allows both int and float, as well as any string that would pass the test of is_numeric(). It would be just like class inheritance: int and float would be treated as subtypes of "numeric".
[ Parent
| on HN ]
There are no comments on this comment yet.