function Global / rescue
You are viewing an older version of the documentation. For the latest, please visit master documentation.

rescue

rescue ( ) : mixed

Catch a potential exception and return a default value.

Parameters

  • $callback callable
  • $rescue mixed
  • $report bool