News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Michael Kimsal's Blog:
Another PHP bugbear…
March 05, 2008 @ 19:08:00

Micheal Kimsal has pointed out another "bugbear" he's found in his work with PHP - this time it's with the use of class constants.

My issue is not with the language itself (this time!) but how this sort of documentation is handled. Updating public documentation well ahead of a release creates confusion.

He's referring to the documentation for the class constants not quite matching up with the current functionality (resulting in a T_PAAMAYIM_NEKUDOTAYIM). He wants consistency in the documentation and maybe references to what it requires to use a certain bit of code.

1 comment voice your opinion now!
docuemntation static class constant consistent


blog comments powered by Disqus

Similar Posts

The OC Food Review Blog: Notes on implementing location based search (part 1 of 2)

DevShed: Protecting PHP 5 Class Data with Member Visibility

Stefan Koopmanschap's Blog: Tip: use clearly readable variable names, and constants!

DevShed: Object-Oriented Programming Through Design Patterns

Ian Barber's Blog: Linear Regression in PHP (part 2)


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant language series api release version list laravel podcast extension laravel5 library security introduction interview opinion example php7 framework community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework