Should I use version 2?

#4
[eluser]michalsn[/eluser]
Underscore for private functions is just an old convention from times when PHP4 was full supported. You can have private function (without underscore) and it will be hidden from public access. I use both Wink
Code:
private function _top_secret()


Messages In This Thread
Should I use version 2? - by El Forum - 12-11-2010, 05:44 AM
Should I use version 2? - by El Forum - 12-11-2010, 06:05 AM
Should I use version 2? - by El Forum - 12-11-2010, 06:30 AM
Should I use version 2? - by El Forum - 12-11-2010, 08:03 AM
Should I use version 2? - by El Forum - 12-11-2010, 08:30 AM
Should I use version 2? - by El Forum - 12-11-2010, 10:57 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.