PHP uses ( condition )? true : fault; as a grammar for simple condition testing. It is same as If condition then true else fault in BASIC.