The same problem occurs with (only when used on a name that failed to open):
$fopen(name).pos - which used to return -1, now crashing
$fgetc(name) – should return * Invalid parameters: $fgetc, now crashing
/fwirte - used to return ‘* fwrite error writing to 'name'’, now crashing
/fseek - used to do nothing, now crashing
While I am at it, It would be nice if a file that fails to open would automatically close itself. Currently it simply stays open which is pretty pointless considering you can do nothing with it but to close it.
Last edited by Wiz126; 04/04/10 05:54 AM.