很多composer库用到了file_get_contents('php://input')
在swoole框架下PHP不设置 php://input
虽然可以在swoole回调通过$request->rawContent()
获取数据,但这样就不能兼容第三方库
请问PHP有什么方法可以主动影响 file_get_contents('php://input')
取到的值吗
回复内容:
很多composer库用到了file_get_contents('php://input')
在swoole框架下PHP不设置 php://input
虽然可以在swoole回调通过$request->rawContent()
获取数据,但这样就不能兼容第三方库
请问PHP有什么方法可以主动影响 file_get_contents('php://input'6来源gaodaimacom搞#^代%!码网搞gaodaima代码)
取到的值吗