Re: OO Question for PHP4
| From: | Jason Davidson | Date: | Wed, 11 Aug 2004 16:12:32 +0000 |
| Subject: | Re: OO Question for PHP4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193466@lists.php.net to get a copy of this message | ||
Yup, i typo'd .. should have read, Im not sure you should be returning a
value......
Jason
Matthew Weier O'Phinney <matthew@garden.org> wrote:
>
> * 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>