[wp-hackers] Coding style

Sam Angove sam at rephrase.net
Tue Jul 4 01:55:35 GMT 2006

On 7/4/06, Robert Deaton <false.hopes at gmail.com> wrote:
> functions and class names aren't case sensetive.

Not yet, but there's talk of case-sensitivity in PHP6. PHP5 is already
case-*aware* where PHP4 wasn't -- i.e., the magic __FUNCTION__
constant used to always return in lowercase, now it returns in the
case the function was declared.

It doesn't matter to WP just yet, and maybe never will, but
class/function/method case-sensitivity might as well be a guideline:
consistency is good. That it's also safer is an added bonus.

More information about the wp-hackers mailing list