Greetings,
I need to execute a php script in my shell so :
touch test.php
chmod +x test.php
edited the file, inserted the following lines :
#! /usr/bin/php -q
$a = 0;
echo $a;
../test.php
Gives me the following output :
$a = 0;
echo $a;
What did I forget ??
many thx !