file_get_contents
Lisez le fichier entier dans une chaîne
<span class="token php language-php"><span class="token delimiter important"><? Php</span> <span class="token keyword">echo</span> <span class="token function">file_get_contents</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span> <span class="token delimiter important">?></span></span>
:
Il s'agit d'un fichier de test avec du texte de test.