made a few updates for php syntax checking