Write a script that creates two variables and assigns a different integer value to each variable.
Now make your script test whether the first value is
and output the result of each test to the user.
<?php $x = 3;/*www . j a v a 2 s.c o m*/ $y = 4; echo "Test 1 result: " . ($x == $y) . " \n "; echo "Test 2 result: " . ($x > $y) . " \n "; echo "Test 3 result: " . ($x <= $y) . " \n "; echo "Test 4 result: " . ($x != $y) . " \n "; ?>