int64_t OutputFile::readImpl(char* /*buffer*/, int64_t /*length*/) {
  raise_warning("cannot read from a php://output stream");
  return 0;
}
The software reads data past the end, or before the beginning, of the intended buffer.