On Mar 21, 2007, at 7:14 PM, Chris wrote:
Erik Jones wrote:
That's not true, running with v. 5.2.1:
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
He meant that __construct() doesn't work in php
Erik Jones wrote:
That's not true, running with v. 5.2.1:
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
He meant that __construct() doesn't work in php4.
It's only available in php5.
php5
That's not true, running with v. 5.2.1:
Outputs:
works
On Mar 21, 2007, at 8:06 AM, itoctopus wrote:
They're basically the same thing, however, you can only use
__construct in
PHP5.
--
itoctopus - http://www.itoctopus.com
"John Comerford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL
They're basically the same thing, however, you can only use __construct in
PHP5.
--
itoctopus - http://www.itoctopus.com
"John Comerford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Folks,
>
> I am still pretty new to PHP and I have a question regarding classes and
> using _co
John Comerford wrote:
> Hi Folks,
>
> I am still pretty new to PHP and I have a question regarding classes and
> using _construct. Up until now I have been creating my classes as follows:
>
> class test1 {
> var $name;
> function test1($pName) {
> $this->name = $pName;
> }
> }
>
> So I when I
5 matches
Mail list logo