this code
$obj = &new Crypt_RSA($params, $wrapper_name, $error_handler);
have this error :
Parse error :syntax error,unexpected 'new' (T_NEW) in /var/www/html/shares/RSA.php
can anyone help ,thanks
this code
$obj = &new Crypt_RSA($params, $wrapper_name, $error_handler);
have this error :
Parse error :syntax error,unexpected 'new' (T_NEW) in /var/www/html/shares/RSA.php
can anyone help ,thanks
As indicated in the comments - using a reference in assignment is deprecated, so
$obj = &new Crypt_RSA($params, $wrapper_name, $error_handler);
should be
$obj = new Crypt_RSA($params, $wrapper_name, $error_handler);
(Remove the ampersand (&
) before new
).