php errors- Parse error: syntax error, unexpected T_ECHO

Errors are very helpful to programmers .When you identifies cause of error next time that error will not be a challenge for you.
Here i am providing some common errors

1.Parse error: syntax error, unexpected T_ECHO

This error is due to some unidentified symbol or character in code

For example following code produces the above error because of "character x" in code

<?php
x
echo "error example";
?>

0 comments: