PHP 5.4
$my_file = 'file.txt'; $handle = fopen($my_file, 'w') or die('Cannot open file: '.$my_file); $data = 'This is the data'; fwrite($handle, $data);
Parse error: syntax error, unexpected '$my_file' (T_VARIABLE)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)