1--TEST-- 2file_get_contents() test using basic syntax 3--CREDITS-- 4"Blanche V.N." <valerie_nare@yahoo.fr> 5--FILE-- 6<?php 7 $file_content = "Bienvenue au CodeFest a Montreal"; 8 $temp_filename = __DIR__."/fichier_a_lire.txt"; 9 $handle = fopen($temp_filename,"w"); 10 fwrite($handle,$file_content); 11 fclose($handle); 12 $var = file_get_contents($temp_filename); 13 echo $var; 14?> 15--CLEAN-- 16<?php 17 $temp_filename = __DIR__."/fichier_a_lire.txt"; 18 unlink($temp_filename); 19?> 20--EXPECT-- 21Bienvenue au CodeFest a Montreal 22