RE: [PHP] oo question
| From: | Chris W. Parker | Date: | Mon, 19 Apr 2004 18:04:49 +0000 |
| Subject: | RE: [PHP] oo question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183832@lists.php.net to get a copy of this message | ||
Chris W. Parker <>
on Monday, April 19, 2004 11:03 AM said:
> Edward Peloke <mailto:epeloke@echoman.com>
> on Monday, April 19, 2004 10:49 AM said:
>
>> this: function Customer($customer_id = 0)
>>
>> doesn't always set the customer_id to 0 even when you pass one in?
>
> no. that is the default value for a function if *no* value is passed
> in.
wait, i should have said "yes, it does not always set the customer_id to
0 even when you pass one in".
c.