Re: [PROPOSAL] Payment_Process

From: Date: Sun, 14 Dec 2003 04:19:05 +0000
Subject: Re: [PROPOSAL] Payment_Process
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24398@lists.php.net to get a copy of this message
On Saturday 13 December 2003 06:50 pm, Joe Stump wrote: > Quick note ... > > You should just put the following declaration into the variable > declaration at the top of the class: > Yeah... For some reason, I was under the impresson that PHP didn't allow that. The docs say: "In PHP 4, only constant initializers for var variables are allowed. To initialize variables with non-constant values, you need an initialization function which is called automatically when an object is being constructed from the class. Such a function is called a constructor (see below)." But I just tried it, and it seems to work. It's been changed.

« previous php.pear.dev (#24398) next »