Re: class from php3 does not work in php4???
| From: | Martin | Date: | Wed, 30 Aug 2000 09:57:54 +0000 |
| Subject: | Re: class from php3 does not work in php4??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14362@lists.php.net to get a copy of this message | ||
hm, looks okay so far. Any special chars perhaps ?
Martin
Steven Glogger wrote:
> i have a class in php3 which works really good. but if i copy this class to
> a php4 server, i get always an 'parse error' pointing to the lines starting
> with 'var'. does var is inexistent in php4? or how is it now declarable?
>
> class cyrus_email_admin {
>
> var $host = "10.0.0.1";
> var $port = 1111;
> var $user = "";
> var $admin_user = "admin";
> var $admin_pass = "12345";
> var $socket = 0;
> var $error_msg = "";
> var $error = 0;
>
> ....
> ....
> }
>
> greetings
>
> steven
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net