schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Wed, 19 Nov 2008 23:29:46 +0100 :Revision: 1 :Copyright: CC by-nc-sa ===================== What does "-a" mean?? ===================== :Description: Google doesn't know. Do you? Google doesn't know. Do you? Please tell me, what the "-a" option for PHP-CLI means, what it does and what it can do for me? (Or maybe "what I can do for it"?) .. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79 Trackbacks ========== Comments ======== - RTFH at Wed, 14 Apr 2004 00:01:52 +0200 php -a Interactive mode enabled - RTFH at Wed, 14 Apr 2004 00:04:14 +0200 # php -a Interactive mode enabled <?php echo "RTFH"; exit();?> 2nd tip of the day: www.php.net/htmlentities ;) - Toby at Wed, 14 Apr 2004 07:11:14 +0200 Some guys realy have humor... Especially because "Interactive Mode" is so meaningful... - rfc2068 at Wed, 14 Apr 2004 14:44:39 +0200 http://cvs.php.net/co.php/php4.fubar/sapi/cli/php_cli.c?r=1.96&php=535b50c11235b3998d7a6fc4f3e0ab0c&nocache=6nnj8ccwqigw#382 - Toby at Wed, 14 Apr 2004 15:11:03 +0200 Same here. Also very meaningfull, because there's only noted "Interactive Mode", which does not clearify in any way, what the "Interactive Mode" is/does/is used for?! - at Wed, 14 Apr 2004 17:29:53 +0200 If you followed the 2nd tip of the day, you may see that the interactive mode take the input as a pipe and process it once it reaches the php closing tag (?>, starting with the "