Re: class method() definition ??? parse error, expecting `')'' ...
| From: | Peter Fraterdeus | Date: | Thu, 05 Oct 2000 04:44:26 +0000 |
| Subject: | Re: class method() definition ??? parse error, expecting `')'' ... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18698@lists.php.net to get a copy of this message | ||
... on further investigation, I have determined that the '->' operator is the factor
which creates the condition...
If I remove the '->' the error goes away... again, not an acceptable solution!
What the heck????
Here's the datadump:
PHP Version 4.0RC2-dev
------------------------------------------------------------------------
System: Linux wizard.eiotx.net 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown
Build Date: Apr 5 2000
Configure command: './configure' '--with-mysql'
'--with-apache=../../apache_1.3.12/' '--enable-magic-quotes'
php.ini path: /usr/local/lib
ZEND_DEBUG=1
SAPI=Apache
ZTS is undefined
>
>the code, in fact, looks like this:
>
>--------
>
>function set_Profile_shipping($this->UID) //
>{
>
> $this->customer_ID=$this->form['customer_ID'];
> $this->name_first=$this->form['name_first'];
> $this->name_last=$this->form['name_last'];
> $this->company=$this->form['company'];
>...
>
>-------
>
>regards
>
>PF
--
AzByCx DwEvFu GtHsIr JqKpLo MnNmOl PkQjRi ShTgUf VeWdXc YbZa&@
Peter Fraterdeus http://www.midsummernightstamps.com
Magical Images from the Moon's Garden!
Type on the Edge of History; In Search of the Wild Photon, &c.
http://www.dezinecafe.com/fraterdeus
BookSense http://www.booksense.com
Independent local booksellers on the web.