php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #20292 headers_sent() documentation error
Submitted: 2002-11-06 15:34 UTC Modified: 2002-11-06 16:27 UTC
From: spamsucks86 at comcast dot net Assigned: philip (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.3.0-pre2 OS:
Private report: No CVE-ID: None
 [2002-11-06 15:34 UTC] spamsucks86 at comcast dot net
It says in the description that file and line are optional parameters, but above it says bool headers_sent ( string &file [, int &line]). It needs brackets around string &file

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-06 16:27 UTC] philip@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


It's also labeled to return a mix of types now.  Rewrote most of the docs here too.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 17:01:28 2024 UTC