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
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:
40 + 31 = ?
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.
 [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. :/
 [2021-08-22 17:47 UTC] deleugyn+php at gmail dot com
Has this been fixed already? I'm trying to understand the problem by reading this issue and the docs and I can't make sense of what the issue is/was
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC