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.
単純な配列でメールのみを取得するにはどうすればよいですか?
どうもありがとう
最初の要素の単純な配列に既にそれらがあります。したがって、上記の構造が $myArr と呼ばれる場合、それらは $myArr[0] にあり、電子メールの配列として保存されます。
それらを別の変数に入れたい場合は、次のようにします。
$myEmails = $myArr[0];