How to Hide the "PHP Settings" Admin Menu

function plt_hide_php_settings_menus() {
	//Hide the "Tools → PHP Settings" menu.
	remove_submenu_page('tools.php', 'php_settings');
}

add_action('admin_menu', 'plt_hide_php_settings_menus', 11);

Where do I put this code?