skipperbent / simple-php-router

Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
647 stars 121 forks source link

Version 5.3.0.1 #655

Closed skipperbent closed 1 year ago

skipperbent commented 1 year ago

Looks like PHP8 handles exceptions differently with Throwables used in cases where php-error occurred. To fix this Throwable are now used to catch exception in routeRequest and any instance of Throwable will be converted to Exception.