I am writing a huge PHP class and starting to realise that I lack some knowledge of a few PHP coding conventions that could help me organise a bit.
My question is about using ONE underscore before a PHP function's name (not two, I know what two underscores do) :
- Is it actually a PHP convention for private functions ?
- Is it in any way interpreted as being something specific by certain frameworks, template engines, etc ? (like /** is caught by PHPdocumentor)
- Is there any merit apart from immediately being able to tell if a function is public or private ?