Adding syntax checking for php