On Sat, Jan 3, 2009 at 5:19 PM, Timm Friebe <the...@thekid.de> 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 from stdin in cli (attached).
"POST DATA" is not relevant to CLI. While I understand what you are trying to do, it feels like a hack. I would suggest to work with "php://stdin" instead -- Alexey Zakhlestin http://www.milkfarmsoft.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php