Re: [PHP-DEV] php://input in CLI sapi

2009-01-04 Thread Alexey Zakhlestin
On Sat, Jan 3, 2009 at 5:19 PM, Timm Friebe wrote: > Hi, > is there any reason php://input is not supported in CLI sapi? It would be > nice to test raw post data reading in unittests without having to run them > inside a web server sapi and it's only a five-line patch making php://input > read fro

[PHP-DEV] php://input in CLI sapi

2009-01-03 Thread Timm Friebe
Hi, is there any reason php://input is not supported in CLI sapi? It would be nice to test raw post data reading in unittests without having to run them inside a web server sapi and it's only a five-line patch making php://input read from stdin in cli (attached). - Timm Index: sapi/cli/php_