Learn PHP - Whitelist only some array keys. ... function ($key) use ($allowedKeys) { return in_array($key, $allowedKeys); }, ARRAY_FILTER_USE_KEY );.
確定! 回上一頁