php.net |  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: bug-report@php.net 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bug-report@php.net
New email:
PHP Version: OS:

 

 [2017-07-11 07:38 UTC] bug-report@php.net
Description:
------------
This page...

http://php.net/manual/en/function.include.php

...says...

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...

---\HTML---
  <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>.
 </p>
---/HTML---

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: http://php.net/manual/en/function.include.php

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-29 12:37 UTC] peehaa@php.net
-Status: Open +Status: Verified
 [2017-08-29 12:37 UTC] peehaa@php.net
The same goes on at the docs for the include_path ini setting: http://php.net/manual/en/ini.core.php#ini.include-path
 [2017-08-29 12:37 UTC] peehaa@php.net
-Assigned To: +Assigned To: peehaa
 [2017-10-24 05:17 UTC] kalle@php.net
-Status: Verified +Status: Assigned
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sat Nov 18 09:04:14 2017 UTC