PHP Tricks: Access control bypasscrell (60)in PHP • 4 years ago (edited)Moved to https://www.garfieldtech.com/blog/phptricks-access-control-bypass #php #php81 #phptricks #programming
Just found a use case of this.
$routes = \Route::getRoutes(); $caller = fn() => $this->routes; dd($caller->call($routes)['GET']);Very useful, thank you.