Re: OO Question for PHP4
| From: | Matthew Weier O'Phinney | Date: | Wed, 11 Aug 2004 16:00:55 +0000 |
| Subject: | Re: OO Question for PHP4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193461@lists.php.net to get a copy of this message | ||
* Jason Davidson <jdavidson@zworg.com>:
> Im sure you should be returning a value in your constructor at all?? Ill
> check the manual, but i dont think ive ever seen a constructor return
> anything, doesnt sound right.. Let me check.
From my experience, returning a value from a constructor currently does
nothing, in either PHP4 or PHP5.
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org