Search

You can find the results of your search below.

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