When I make console scripts for *nix in PHP I have the shebang line and after that <?php
#!/usr/bin/php -q <?php ... ?>
Is PHP as powerful as perl on the console area yet?
In my opinion, no. But Perl has a big head start on php when it comes to system scripts (not to mention that PHP is designed for web based applications). I can easily forsee PHP taking over Perl in the system area (course, they may both fall out of favor as more and more people are using languages like Python and TCL for system scripts).
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php