|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74897 Links to "warning" & "fatal error" have a blank href
Submitted: 2017-07-11 07:38 UTC Modified: 2018-01-29 23:14 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: Assigned: peehaa (profile)
Status: Assigned Package: Doc Build problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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
 [2018-01-29 23:14 UTC]
-Type: Documentation Problem +Type: Bug -Package: *General Issues +Package: Doc Build problem
 [2018-01-29 23:14 UTC]
The links in the sources are correct, this loooks like a PhD problem.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 25 00:01:26 2020 UTC