Remove deprecated features in PHP5.4.x

See more: http://jp1.php.net/manual/en/migration54.deprecated.php