“ereg is deprecated" It is time now to go migrating these old php functions to new and leave behind those features that are already obsole.