Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually functions are private by default.

"static function main()" seems to work as an entrance point, though, which makes sense somehow...



I'm sorry, you're correct of course! Private is the sane default obviously.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: