Throw a custom error if a route id is too big

前端 未结 0 1689
花落未央
花落未央 2021-02-09 01:05

I\'ve got something that bugs me : when somebody requests a route with an id greater than PHP_INT_MAX, the id is passed as a string to my controller, thus throwing a 500 error,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题