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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 08:01:34 2024 UTC