fixed the value of $x within test.php