halkyon/sapphire — comment on commit 8fdc531345d96127f66cc5064dbb209e01cbdd87
File: model/fieldtypes/Date.php line 42
By AngryPHPNerd:

You should replace ereg with preg_match because it is deprecated.
I just had problems with some scripts where I had overwriten the error_reporting (I don't know why) witch brokens on some ereg_replace in the Convert-Class :p.