Fixed issue where PHP wanrnings would sometimes appear. Updated readme.