> -----Original Message-----
> From: Shaw, Chris - Accenture [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 13, 2005 12:10 PM
> To: php-general@lists.php.net
> Subject: [PHP] 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

Reply via email to