<?php

function test($file) {
  var_dump(@eval('if (false){'.$file.'}'));
}

test('$x = 0;');

test('eval(\'$x=0;\');');

test('foobar');