php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81121 Missing documentation for the -> symbol
Submitted: 2021-06-09 20:02 UTC Modified: 2021-06-10 10:07 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: dsilvadarius at yahoo dot com Assigned:
Status: Verified Package: Documentation problem
PHP Version: Irrelevant OS: Windows 10
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: dsilvadarius at yahoo dot com
New email:
PHP Version: OS:

 

 [2021-06-09 20:02 UTC] dsilvadarius at yahoo dot com
Description:
------------
The PHP manual does not document the -> symbol. The "List of Parser Tokens" page lists it as T_OBJECT_OPERATOR, but that's not friendly enough for a beginner. Could we have a section in the documentation explaining what it is and its purpose?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-10 10:07 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-06-10 10:07 UTC] cmb@php.net
The -> operator is informally introduced in the section about
properties[1], but is already used in the previous section.  There
is certainly room for improvement.

[1] <https://www.php.net/manual/en/language.oop5.properties.php>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 11 02:01:26 2024 UTC