$ourFileName = "workethics.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
http://www.tizag.com/phpT/filecreate.php
ahiliation:~$php -r workethics.php
Parse error: syntax error, unexpected $end in Command line code on line 1
ahiliation:~$