PHP What is x+ mode in fopen() used for? June 10, 2015 Pramod T P Leave a comment Read/Write. Creates a new file. Returns FALSE and an error if file already exists