On 3/14/13 12:26 PM, Rasmus Schultz wrote:
Hey List,What do you think about adding a typeof() operator to PHP?
gettype(), get_class().If you wanted gettype() to return a classname instead of "object", then you'd have to add reserved words for all the native types. Otherwise:
class string {} gettype(new string); ??? Steve Clay -- http://www.mrclay.org/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php