Hacker News new | ask | show | jobs
by damncabbage 5424 days ago
PHP: if (realpath($argv[0]) == __FILE__) main();

(Presuming you've gone and defined the main() function somewhere. No module conventions like with Python here.)