Marc Richards wrote:
I also think that what Rasmus suggeted is a good idea:
"So, perhaps introduce the value() function which doesn't do any type
casting and enhance the intval(), strval() and floatval() functions to
act like value() but cast appropriately unless the default arg is
returned."
If this is the way we went the getval() would probably fit in better
with the other function names.
Or maybe varval() or defaultval().
Marc
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php