class from php3 does not work in php4???
| From: | Steven Glogger | Date: | Wed, 30 Aug 2000 09:37:06 +0000 |
| Subject: | class from php3 does not work in php4??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14358@lists.php.net to get a copy of this message | ||
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