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: 2019-11-14 14:55 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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
44 + 9 = ?
Subscribe to this entry?

 
 [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.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Aug 13 04:01:30 2020 UTC