php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26859 some_func()['some_key'] and ((object) some_func)->some_prop syntax
Submitted: 2004-01-10 10:36 UTC Modified: 2006-04-03 12:34 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: andrey@php.net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5CVS-2004-01-10 (dev) OS: linux
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: andrey@php.net
New email:
PHP Version: OS:

 

 [2004-01-10 10:36 UTC] andrey@php.net
Description:
------------
IMO it will be ok, if PHP supports these :
1. some_func()['some_key']
2. ((object) some_func())->some_var
syntax.
Related to : #26347


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-17 10:16 UTC] andrey@php.net
Also related to : bug #23920  (which is a feature reques)
 [2006-04-03 12:34 UTC] tony2001@php.net
I don't think we should keep duplicates.
See bug #23920.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 16 00:00:01 2025 UTC