1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 14:31:06 +02:00
Files
archived-php-src/ext/standard
Gustavo André dos Santos Lopes 1ee489f00e - [DOC] Changed stream_get_contents() so that the offset is relative to the
current position (seek with SEEK_CUR, not SEEK_SET). Only positive values are
  allowed. This breaking change is necessary to fix the erratic behavior in
  streams without a seek handlder. Addresses bug #53006.
#Note that the example on the doc page for stream_get_contents() may fail
#without this change.
#This change is also in the spirit of stream_get_contents(), whose description
#is "Reads all remaining bytes (or up to maxlen bytes) from a stream...".
#Previous behavior allowed setting the file pointer to positions before the
#current one, so they wouldn't be "remaining bytes". The previous behavior was
#also inconsistent in that it allowed an moving to offset 1, 2, ..., but not 0.
2010-10-14 02:03:18 +00:00
..
2010-06-17 10:22:03 +00:00
2009-05-09 22:34:45 +00:00
2010-05-27 22:51:28 +00:00
2010-04-26 23:53:30 +00:00
2010-06-01 17:13:50 +00:00
2010-04-26 23:53:30 +00:00
2010-04-26 23:53:30 +00:00
2010-04-26 23:53:30 +00:00
2010-08-23 18:05:05 +00:00
2010-09-13 09:30:07 +00:00
2010-04-26 23:53:30 +00:00
2010-04-13 11:41:40 +00:00
2010-04-13 11:41:40 +00:00
2010-06-17 10:22:03 +00:00
2010-09-08 09:11:18 +00:00
2010-04-26 23:53:30 +00:00
2009-09-28 13:29:53 +00:00