Bug #74897 [Asn]: Links to "warning" & "fatal error" have a blank href
| From: | cmb@php.net | Date: | Thu, 05 Mar 2020 08:17:02 +0000 |
| Subject: | Bug #74897 [Asn]: Links to "warning" & "fatal error" have a blank href | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17372@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74897&edit=1
ID: 74897
Updated by: cmb@php.net
Reported by: bug-report@php.net
Summary: Links to "warning" & "fatal error" have a blank href
Status: Assigned
Type: Bug
-Package: Doc Build problem
+Package: Documentation problem
PHP Version: Irrelevant
-Assigned To: peehaa
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Indeed, this is a limitation of PhD, but given that we usually
just write <constant>E_WARNING</constant> etc., we should do this
in these few cases which try to link directly as well. If PhD
ever supports automatic linking of constants, then we'd get the
links for free.
Previous Comments:
------------------------------------------------------------------------
[2018-01-29 23:14:01] vrana@php.net
The links in the sources are correct, this loooks like a PhD problem.
------------------------------------------------------------------------
[2017-08-29 12:37:12] 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-07-11 07:38:19] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74897&edit=1