<?php $permitted = ['foo', 'bar', 'gah']; $config = ['foo', 'bar', 'extra']; foreach (array_intersect_key($permitted, $config) as $key) { echo $key; }
You have javascript disabled. You will not be able to edit any code.