Re: feature that should be there and isn't
| From: | Brian White | Date: | Wed, 31 Jan 2001 05:20:51 +0000 |
| Subject: | Re: feature that should be there and isn't | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37419@lists.php.net to get a copy of this message | ||
Let me start by saying "Can of Worms!"
At 20:07 30/01/2001 -0800, Joe Stump wrote:
BUT you can't do this: function foo($var=date("Y-m-d")) { } Why? This would be a kick ass little trick!The question is: when do you resolves something like this? Is it at "compile time" or at "function call" time. That could get really nasty if the functions had internal counters etc. Regs Brian White ------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bwhite@steptwo.com.au