Search

You can find the results of your search below.

fgets @snippets:php
2 Hits, Last modified:
<file php> $filename = 'whatever';   $fh = @fopen($filename, 'r'); if ( ! $fh ) { throw new Except... Failed to open ${filename}"); } while ( ( $text = fgets($fh) ) !== false ) { echo $text; } </file>