|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69350 wrong type hint for 1st parameter
Submitted: 2015-04-01 19:11 UTC Modified: 2015-04-02 04:05 UTC
From: Assigned: sobak (profile)
Status: Closed Package: bz2 (PECL)
PHP Version: Irrelevant 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:
49 - 8 = ?
Subscribe to this entry?

 [2015-04-01 19:11 UTC]
From manual page:
According to the documentation:

| filename
| The name of the file to open, or an existing stream resource.

However, $filename is hinted as string.

Furthermore it might be reasonable to rename the filename


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-02 04:04 UTC]
Automatic comment from SVN on behalf of sobak
Log: Fix bug #69350 (wrong type hint for 1st parameter)
 [2015-04-02 04:05 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 [2015-04-02 04:05 UTC]
Good catch, fixed.
 [2020-02-07 06:08 UTC]
Automatic comment on behalf of sobak
Log: Fix bug #69350 (wrong type hint for 1st parameter)
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 07:01:27 2020 UTC