Implement for php-5.5.5 cookbook.