cli version and shell useability

From: Date: Tue, 05 Mar 2002 08:39:28 +0000
Subject: cli version and shell useability
Groups: php.dev 
Request: Send a blank email to php-dev+get-80730@lists.php.net to get a copy of this message
Is there a way to execute code from the command line AND process stdin/stdout without using an external file with php code? Currently the only way of feeding code to the script (to my knowledge) is: echo '<? // code ....?>' | php >output or <input stream> | php -f code.php >output But you can't do something like <input stream > | php -p '<? execute php code ?>' >output Maybe I missed the last option? - Markus -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc

« previous php.dev (#80730) next »