Grazie per la risposta, neanche con fseek si può risolvere? tipo così (ovviamente quest'esempio non va):

file.txt
<? if (condizione) { ?>
<? } ?>

$a = new SplFileObject('file.txt');
$a->seek(0);
echo $a->current();

$b = new SplFileObject('file.txt');
$b->seek(1);
echo $b->current();