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
 [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: Thu Nov 21 19:01:29 2024 UTC