Re: New construct discussion Summary
| From: | Marc Richards | Date: | Tue, 13 Jul 2004 01:25:37 +0000 |
| Subject: | Re: New construct discussion Summary | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11142@lists.php.net to get a copy of this message | ||
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