Chilion

Blogs, Hints, Tricks and Howto's

Tag

don’t use underscores

Don’t use leading underscores in PHP functions

While I was looking over some 3rd party┬ácode, and some extremely new code of my own. I discovered that I still use the leading underscore for private functions. To be clear, I’m talking about this: <?php private function _foo(){ //Hi… Continue Reading →

© 2018 Chilion — Powered by WordPress

Theme by Anders NorenUp ↑