Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
多くのセッション変数を持つphp Webアプリケーションに取り組んでいます。それらのいくつかを設定解除したい。
何行ものコードを書きたくない
unset($_SESSION['a']); unset($_SESSION['b']); unset($_SESSION['c']); unset($_SESSION['d']); unset($_SESSION['f']); unset($_SESSION['a']);
これをすべて1つの方法で設定解除することは可能ですか?
ありがとう