当然,只要在要继续执行的地方捕获异常即可。
try { SomeOperation(); } catch (SomeException $e) { // do nothing... php will ignore and continue }当然,这存在静默删除可能是非常重要的错误的问题。SomeOperation()可能会失败,从而导致其他难以解决的细微问题,但您永远不会知道是否静默删除该异常。

当然,只要在要继续执行的地方捕获异常即可。
try { SomeOperation(); } catch (SomeException $e) { // do nothing... php will ignore and continue }当然,这存在静默删除可能是非常重要的错误的问题。SomeOperation()可能会失败,从而导致其他难以解决的细微问题,但您永远不会知道是否静默删除该异常。