RE: Problem with extending classes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Shaw, Chris - Accenture [mailto:cshaw@xxxxxxxxxx]
> Sent: Friday, May 13, 2005 12:10 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  Problem with extending classes.
 
> Have I missed something or is there bugs with extending classes in
php5?
> Does this happen in php4.3?

$this->$name = $this->ksplit($name);
$this->$contactcontact = $this->ksplit($contact);
$this->$address = $this->ksplit($address);

Regardless of inheriting or not it should be:

$this->name = $this->ksplit($name);
$this->contactcontact = $this->ksplit($contact);
$this->address = $this->ksplit($address);

--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/Systemdeveloper

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux