php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78815 Undocumented "const"
Submitted: 2019-11-14 14:16 UTC Modified: 2020-08-13 12:23 UTC
From: markus dot eberlein at seobility dot net Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS: Any
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: markus dot eberlein at seobility dot net
New email:
PHP Version: OS:

 

 [2019-11-14 14:16 UTC] markus dot eberlein at seobility dot net
Description:
------------
---
From manual page: https://php.net/function.constant

---
function.constant.php
https://www.php.net/manual/de/function.constant.php
https://www.php.net/manual/en/function.constant.php

Undocumented "const" appears in official example.
Please add a manual page for "const" and make it searchable.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-14 14:55 UTC] cmb@php.net
Indeed, that's quite hard to find on the constants/syntax page:
<https://www.php.net/manual/en/language.constants.syntax.php>.
 [2019-11-28 05:53 UTC] a at b dot c dot de
The default shortcut mechanism "http://www.php.net/const" finds that page, too.
The general site search finds it (and presents it in bold) as the third hit.
 [2020-08-13 12:23 UTC] cmb@php.net
> The default shortcut mechanism "http://www.php.net/const" finds that page, too.
> The general site search finds it (and presents it in bold) as the third hit.

Neither works for me. :/
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 24 18:01:28 2020 UTC