|
|
Log in / Subscribe / Register

PHP struggles with attributes syntax

PHP struggles with attributes syntax

Posted Aug 8, 2020 21:21 UTC (Sat) by jkingweb (subscriber, #113039)
In reply to: PHP struggles with attributes syntax by iteratedlateralus
Parent article: PHP struggles with attributes syntax

While you probably know this now, that would have been ambiguous. Is ::foo:::bar::baz() a a call to a function in the ::foo::bar namespace, or to a method of class bar in the ::foo namespace?


to post comments

PHP struggles with attributes syntax

Posted Aug 9, 2020 6:57 UTC (Sun) by iteratedlateralus (guest, #102183) [Link]

That's very true. Had it not been the static access operator, it might work.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds