From professional translators, enterprises, web pages and freely available translation repositories.
example 2.
/ / note that !== did not exist until 4.0.0-rc2 ?php $handle=opendir( '/ path / to / files'); echo "directory handle: $handle\n"; echo "files:\n"; / * this is the correct way to loop over the directory. * / while (false !== ($file = readdir($handle))) {echo "$file\n";} / * this is the wrong way to loop over the directory. * / while ($file = readdir($handle)) {echo "$file\n";} closedir($handle);?
example 2. users.txt
$fp = fopen ("users.txt" ,"r"); while ($userinfo = fscanf ($fp, "%s\t%s\t%s\n")) {list ($name, $profession, $countrycode) = $userinfo; / /... do something with the values} fclose($fp);