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.
たとえば、次のような配列がいくつかあります。
$data1 = array(80, 'P3'); $data2 = array(55, 'P3'); $data3 = array(90, 'P3');
いくつかの配列の最大値を見つける方法は?助けてください、ありがとう:)
$x = array_merge($data1, $data2, $data3); sort($x); $highest = array_pop($x);