Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Laravel 抛出Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException然后App::missing()捕获它,至少它在非 HHVM PHP 中做到了,但我如何在 HHVM 中捕获异常?
Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException
App::missing()
HHVM 旨在执行任何 PHP,因此您可以使用try {} catch {}.
try {} catch {}