很多composer庫(kù)用到了file_get_contents('php://input')
在swoole框架下PHP不設(shè)置 php://input
雖然可以在swoole回調(diào)通過(guò)$request->rawContent()
獲取數(shù)據(jù),但這樣就不能兼容第三方庫(kù)
請(qǐng)問(wèn)PHP有什么方法可以主動(dòng)影響 file_get_contents('php://input')
取到的值嗎
學(xué)習(xí)是最好的投資!