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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Sun Oct 25 06:01:24 2020 UTC