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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sun Dec 08 18:01:27 2024 UTC