http://www.php.net/manual/en/migration55.deprecated.php
link