Posted by ZeldorBlat on 12/20/05 17:10
In PHP 5, using the "var" keyword to declare member variables of an
object is deprecated. The quick solution is to change all those "var
$somevar" to "public $somevar".
Also, your class constructor is probably defined incorrectly. Old way:
function Crypt_RSA($params, $wrapper_name) {
//do your construction
}
New way:
function __construct($params, $wrapper_name) {
//do your construction
}
You may also want to turn up the error reporting level in php.ini to
see if you get any errors that you weren't getting before.
[Back to original message]
|