小编dav*_*ann的帖子

PHP-禁用单行警告

I have a plugin in my forum which throws a warning.
I want to fix the problem, but firstly, I want to hide the warning message to the users.

I know I can change it globally, but I just want to do it for some lines.

How can I do this?

$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
Run Code Online (Sandbox Code Playgroud)

gives the error:

Warnung: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php (Zeile 6411)
Run Code Online (Sandbox Code Playgroud)

I already know I need to …

php error-handling

3
推荐指数
1
解决办法
3005
查看次数

标签 统计

error-handling ×1

php ×1