Bug #76854 [Opn->Dup]: streamWrapper behaves differently
| From: | requinix@php.net | Date: | Mon, 10 Sep 2018 08:32:40 +0000 |
| Subject: | Bug #76854 [Opn->Dup]: streamWrapper behaves differently | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216953@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: Open
+Status: Duplicate
Type: Bug
Package: Streams related
PHP Version: 7.3.0beta3
Block user comment: N
Private report: N
New Comment:
Duplicate of bug #76803, which has been fixed.
Previous Comments:
------------------------------------------------------------------------
[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