Edit report at http://bugs.php.net/bug.php?id=52980&edit=1
ID: 52980 Updated by: cataphr...@php.net Reported by: kieran at menor dot dk Summary: Allow omitting start tag for CLI scripts Status: Open Type: Feature/Change Request Package: PHP options/info functions Operating System: *nix PHP Version: Irrelevant Block user comment: N New Comment: This would be nice; relaxing the "-r" switch by not requiring an argument would be a good option Previous Comments: ------------------------------------------------------------------------ [2010-10-03 17:13:00] kieran at menor dot dk Description: ------------ I would like to be able to make my PHP scripts executable so I can do something like this: #!/usr/bin/php echo 'Hello world'; Either have a CLI switch that disables the need for a start tag, or automatically detect shebang in the beginning of a file. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52980&edit=1