<?php
$input = array(
"name" => array("type" => "text", "null" => "NOT NULL"),
"email" => array("type" => "text", "null" => "NOT NULL"),
"tel" => array("type" => "text", "null" => "NOT NULL"),
"warehouse" => array("type" => "text", "null" => "NOT NULL"),
);
echo implode(', ', array_map(function ($entry) {
return $entry["type"];
}, $input));
preferences:
53.01 ms | 402 KiB | 5 Q