Closed Ocramius closed 10 years ago
As of RouteMatch#getParam(), array_key_exists is used. Can instead do: isset to speed it up:
RouteMatch#getParam()
array_key_exists
isset
if (isset($this->params[$key]) || array_key_exists($key, $this->params)) { }
As of
RouteMatch#getParam()
,array_key_exists
is used. Can instead do:isset
to speed it up: