PHP – file() lines

$lines = file('all-words.txt'); foreach ($lines as $line_num => $line) { echo "Line number ".$line_num; }
Code language: PHP (php)
Tags:
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments