Created
December 29, 2020 15:29
-
-
Save numanturle/0777905e52fc8562b3979b1d33a366ad to your computer and use it in GitHub Desktop.
big file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$handle = fopen("big.json", "r"); | |
if ($handle) { | |
while (($line = fgets($handle)) !== false) { | |
// process the line read. | |
} | |
fclose($handle); | |
} else { | |
// error opening the file. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment