Tenemos el siguiente código:
Código PHP:
if (function_exists("file_get_contents"))
$f = file_get_contents($_f);
else
$f = implode(file($_f), "\n");
¿Qué instrucción se ejecutará en PHP 4.2?
a) Ninguna
b) $f = file_get_contents("f.txt");
c) $f = implode(file($_f), "\n");
d) Imposible de determinar
Respuesta: c (file_get_contents() está disponible a partir de PHP 4.3)