I\'ve seen this a lot: $fp = fopen($filepath, \"w\") or die(); But I can\'t seem to find any real documentation on this \"or\" syntax. It\'s obvious enough what
$fp = fopen($filepath, \"w\") or die();
It can be used just like you'd use || as a logical OR http://php.net/manual/en/language.operators.logical.php