Bug #76854 [Dup]: streamWrapper behaves differently
| From: | requinix@php.net | Date: | Mon, 10 Sep 2018 09:03:27 +0000 |
| Subject: | Bug #76854 [Dup]: streamWrapper behaves differently | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216957@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76854&edit=1
ID: 76854
Updated by: requinix@php.net
Reported by: miloslav dot hula at gmail dot com
Summary: streamWrapper behaves differently
Status: Duplicate
Type: Bug
Package: Streams related
PHP Version: 7.3.0beta3
Block user comment: N
Private report: N
New Comment:
Duplicate is neither open nor closed. It means the issue is being (or, like here, has already been)
addressed by another report.
Previous Comments:
------------------------------------------------------------------------
[2018-09-10 08:58:59] miloslav dot hula at gmail dot com
Not sure why you reopened the issue, but I'm sure that David Grudl, creator of #76803, has the
same "bug source". He only isolated it better. From my point of view it can be closed.
------------------------------------------------------------------------
[2018-09-10 08:50:34] miloslav dot hula at gmail dot com
Thank you.
------------------------------------------------------------------------
[2018-09-10 08:32:40] requinix@php.net
Duplicate of bug #76803, which has been fixed.
------------------------------------------------------------------------
[2018-09-10 07:18:36] miloslav dot hula at gmail dot com
Description:
------------
Nette Tester (https://github.com/nette/tester) uses streamWrapper to mock files. On PHP 7.2.8 all
tests pass, on 7.3.0beta3 one behaves differently. Probably when truncating file contents.
Following code is extraction from Tester.
Test script:
---------------
https://gist.github.com/milo/c13fe314c486451d2c545b923e73622f
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76854&edit=1