Look at this.
Yeah, your using echo incorrectly. Echo only outputs a string.
For instance if the string is "this is text", echo will display "this is text" as text on the page.
So:
if(!echo(1<2))
echo 'true';
Is very wrong. But this:
$i = 1;
if($i < 2) {
echo "true";
}
(if $i is less than 2, then display the word "true" on the page... )