Re: _Construct question
| From: | Richard Lynch | Date: | Wed, 21 Mar 2007 00:09:46 +0000 |
| Subject: | Re: _Construct question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250955@lists.php.net to get a copy of this message | ||
On Tue, March 20, 2007 6:51 pm, John Comerford wrote:
> 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) {
It changed from PHP 4 to PHP 5 because of various issues.
Check on http://php.net for PHP 5 Migration suggestions.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?