Mod in console php