zend-diactoros
zend-diactoros copied to clipboard
PhpInputStream's getSize function is Wrong!
reference: https://www.php.net/manual/en/wrappers.php.php php://input is not support fstat
| Supports stat() | php://memory and php://temp only. |
|---|
- [ ] I was not able to find an open or closed issue matching what I'm seeing.
- [ ] This is not a question. (Questions should be asked on chat (Signup here) or our forums.)
Provide a narrative description of what you are trying to accomplish.
Code to reproduce the issue
Expected results
Actual results
@zhushengwen
fstat and stat are two different PHP functions.
Can you provide failing test case, please?

@zhushengwen Please create a pull request with an unit test which illustrates the problem. It's very hard to reproduce the problem per screenshot. 😉
Thanks in advance!
This repository has been closed and moved to laminas/laminas-diactoros; a new issue has been opened at https://github.com/laminas/laminas-diactoros/issues/2.