catch

  • php7中try/catch的使用方法

    1、这里直接抛出了错误,但没有捕捉 2、这里变量$a,没有声明 3、使用符号"@",抑制错误 4、通过函数 set_exception_handler() 设置…

    2025年1月1日