|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76854 streamWrapper behaves differently
Submitted: 2018-09-10 07:18 UTC Modified: 2018-09-10 09:03 UTC
From: miloslav dot hula at gmail dot com Assigned:
Status: Duplicate Package: Streams related
PHP Version: 7.3.0beta3 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
33 - 23 = ?
Subscribe to this entry?

 [2018-09-10 07:18 UTC] miloslav dot hula at gmail dot 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:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-10 08:32 UTC]
-Status: Open +Status: Duplicate
 [2018-09-10 08:32 UTC]
Duplicate of bug #76803, which has been fixed.
 [2018-09-10 08:50 UTC] miloslav dot hula at gmail dot com
-Status: Duplicate +Status: Closed
 [2018-09-10 08:50 UTC] miloslav dot hula at gmail dot com
Thank you.
 [2018-09-10 08:50 UTC]
-Status: Closed +Status: Duplicate
 [2018-09-10 08:58 UTC] 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 09:03 UTC]
Duplicate is neither open nor closed. It means the issue is being (or, like here, has already been) addressed by another report.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 23 10:01:24 2023 UTC