ここでの取り決めは、17個の要素を持つ配列があることです。一定期間必要な要素を取得して、配列から完全に削除したいと思います。
コードは次のとおりです。
$name = $post['name'];
$email = $post['email'];
$address = $post['address'];
$telephone = $post['telephone'];
$country = $post['country'];
unset($post['name']);
unset($post['email']);
unset($post['address']);
unset($post['telephone']);
unset($post['country']);
はい、コードは醜いです、bashする必要はありません。どうすればこれをより良く見せることができますか?