RSA.php 第 228 行中未捕获的 TYPO3 异常
我有一个很好的用于typo3的扩展,它在PHP 5.3上失败了:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1:
PHP : Assigning the return value of new by reference is deprecated in
Crypt/RSA.php line 228
我尝试过:
ini_set('error_reporting','E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT');
但是有了这个,错误、通知都消失了,并带有空白输出,其中需要一些加密输出。
I have a nicely working extension for typo3 which fails for PHP 5.3:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1:
PHP : Assigning the return value of new by reference is deprecated in
Crypt/RSA.php line 228
I tried:
ini_set('error_reporting','E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT');
but with this, errors, notices are gone with blank output where some encrypted output is expected.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Crypt/RAS/Math/GMP.php
行中。 No. 63
该函数已从 PHP 5.3 中的某些 SAPI 中删除。
参考号http://php.net/manual/en/function.dl.php
Crypt/RAS/Math/BigInt.php 和 Crypt/RAS/Math/BCMath.php 中也将进行相同的更改
in Crypt/RAS/Math/GMP.php
line. No. 63
This function has been removed from some SAPI's in PHP 5.3.
Ref. http://php.net/manual/en/function.dl.php
The same changes will be in Crypt/RAS/Math/BigInt.php and Crypt/RAS/Math/BCMath.php