Luracast / Restler

Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API
http://luracast.com/products/restler/
GNU Lesser General Public License v2.1
1.36k stars 315 forks source link

Use native php function to handle autoloader callables #674

Open nervo opened 2 years ago

nervo commented 2 years ago

Fix #673

This commit https://github.com/Luracast/Restler/commit/b3ded4194057951ac96a41104f76b4b2eed62cc7 introduced a weird way to handle autoloader callables, where a simple native php function call_user_func can do the trick.

If approved and merged, would you consider backport it to 3 and 4 branches ?

Thx 😗