Code has been added to clipboard!

PHP fopen Function

Example
<?php
  $newfile = fopen('textfile.txt', 'w');
?>