RE: [PHP4BETA] A quick clarification question about PHP4...
| From: | Samuel Liddicott | Date: | Wed, 25 Aug 1999 12:48:18 +0000 |
| Subject: | RE: [PHP4BETA] A quick clarification question about PHP4... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3712@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Andi Gutmans [mailto:andi@zend.com]
> Sent: 25 August 1999 01:17 PM
> To: Samuel Liddicott; zeev@zend.com; Jim Brain; Zend
> Subject: RE: [PHP4BETA] A quick clarification question about PHP4...
>
> At 11:25 AM 8/25/99 +0100, Samuel Liddicott wrote:
>
> >Wow. I use it as self-documentation otherwise I can never remember the
> >names of variables and end up with buggy code because I have two
> different
> >spellings. Oh well.
>
> You could have used comments for that :)
> # var $foo;
:-)
I'm prone to comments getting out of date...
> > > It's not the C++ model, it's a typical compile&execute model.
> >
> >Well it's not very nice...
> >
> >Also I move that constructors allow parameters.
>
> They do.
Oh. I must have been confused during a sock in the recent fight.
Does
$item=new thingy(1,2);
work then? How do you pass the parameters during construction?
Sam