Created
July 5, 2019 11:10
-
-
Save caramelchocolate/2a5648b2641d212471d26b1f61625519 to your computer and use it in GitHub Desktop.
1行ずつ読み込み
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
<?php | |
$file = new SplFileObject(__FILE__); | |
while (!$file->eof()) { | |
echo $file->current(); | |
$file->next(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment