|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74897 Links to "warning" & "fatal error" have a blank href
Submitted: 2017-07-11 07:38 UTC Modified: 2017-10-24 05:17 UTC
From: Assigned: peehaa (profile)
Status: Assigned Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2017-07-11 07:38 UTC]
This page...


The include construct will emit a warning if it cannot find a file; this is different behavior from require, which will emit a fatal error.

...the links to "warning" & "fatal error" point to the current page, since the href's are blank in the HTML Source...

  <em>include</em> construct will emit a
  <a href="" class="link">warning</a> if
  it cannot find a file; this is different behavior from
  <span class="function"><a href="function.require.php" class="function">require</a></span>, which will emit a
  <a href="" class="link">fatal error</a>.

Expected result:
The "warning" link should go to a page about warnings.

The "fatal error" link should go to a page about fatal errors.

Actual result:
The links to "warning" & "fatal error" point to the same page the links are on, the current page:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-29 12:37 UTC]
-Status: Open +Status: Verified
 [2017-08-29 12:37 UTC]
The same goes on at the docs for the include_path ini setting:
 [2017-08-29 12:37 UTC]
-Assigned To: +Assigned To: peehaa
 [2017-10-24 05:17 UTC]
-Status: Verified +Status: Assigned
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC