At 10:50 AM + 1/29/01, Tim Ward wrote:
> > -Original Message-
>> From: Steve Edberg [mailto:[EMAIL PROTECTED]]
>> Sent: 25 January 2001 22:02
>> To: Matt; [EMAIL PROTECTED]
>> Subject: Re: [PHP] VAR and variables
>>
>>
>> At
At 3:00 PM -0600 1/25/01, Matt wrote:
>I have a question that may seem kind of silly, but I'm curious...
>
>When using PHP why would one use "var" to define a variable as
>opposed to just regularly creating it?
Because that's the way it is ;).
The var is part of the syntax of a class definitio
I have a question that may seem kind of silly, but I'm curious...
When using PHP why would one use "var" to define a variable as opposed to
just regularly creating it?
For example, if I have a class defined as below:
class Simple {
var $a;
function Simple() {
$this->a = 5;
}
3 matches
Mail list logo