|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-06 08:41 UTC] jan@php.net
[2002-10-27 19:05 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Feb 16 19:00:02 2026 UTC |
How about: function Foo::Bar() { //implementation of method `Bar' in class `Foo' } ppl usually separate the functionality in different files, and with classes this is only possible by forwarding calls to regular functions, or by making use of derivation, which is not the best practice. IMHO that would imply small changes to the parser (to recognize `::' syntax), what do you think?