RE: [PHP] Tidying code for PHP5.0.5/PHP4.4.0
| From: | Michael Sims | Date: | Tue, 20 Sep 2005 19:51:20 +0000 |
| Subject: | RE: [PHP] Tidying code for PHP5.0.5/PHP4.4.0 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222801@lists.php.net to get a copy of this message | ||
Jochem Maas wrote:
> Michael Sims wrote:
>> So, as far as foo() knows:
>>
>> foo($a = 5);
>> and
>> foo(5);
>>
>> are exactly the same...
>
> I don't think they are, and you're examples don't prove it.
> Anyone care to come up with the proof.
No, I was wrong, Rasmus corrected me. That's my one allowed mistake for the day. I promise to
wait until tomorrow before making another one. ;)