php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72715 language lacking $lineNumber or equivalent
Submitted: 2016-07-30 18:56 UTC Modified: 2016-07-30 20:29 UTC
From: jim dot michaels at Jesusnjim dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 7.0.9 OS:
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: jim dot michaels at Jesusnjim dot com
New email:
PHP Version: OS:

 

 [2016-07-30 18:56 UTC] jim dot michaels at Jesusnjim dot com
Description:
------------
language lacking $__lineNumber__ within the current script file or equivalent.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-30 19:37 UTC] requinix@php.net
-Status: Open +Status: Not a bug -Package: PHP Language Specification +Package: Scripting Engine problem
 [2016-07-30 20:23 UTC] jim dot michaels at jesusnjim dot com
these are not in the index. but I found them elsewhere in manual. so this is not a bug except a doc bug to put those Magic constants into the index.
 [2016-07-30 20:29 UTC] requinix@php.net
An index only really helps if you know what you're looking for...

The index [1] only covers functions and methods. __LINE__ is mentioned in List of Reserved Words > List of Keywords [2].

Exactly what do you want changed? Are you asking for a single index of absolutely everything? Because there's very many things that could be in an index - which is why the current "index" is split into multiple lists.

[1] http://php.net/manual/en/indexes.php
[2] http://php.net/manual/en/reserved.keywords.php
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 07:00:01 2026 UTC