更新时间:2023-09-01 23:32:16
建议 PHP >= 5.3 享受 Slim 对匿名函数的支持,例如 Get、Post、put 和 delete.
It is recommend PHP >= 5.3 to enjoy Slim's support for anonymous functions like as Get,Post,put and delete.
所以如果我们想使用 SLIM 框架制作 API,我们需要更新我们的 PHP>=5.3.然后,您的 API(如 Get 和 Post)将成功运行.
So if we want to make APIs using SLIM framework we need to update our PHP>=5.3. Then your APIs like as Get and Post will work successfully.