Saturday, May 20, 2017

fread

<?php
$file_reader = fopen("sample_text.txt", "r");
$content = fread($file_reader, 4);
echo $content;
?>
Output:
This

No comments:

Post a Comment

here docs

$x = <<<THE_END PHP stands for "PHP: Hypertext Preprocessor". The acronym "PHP" is therefore, usually referre...