<?php $array = [ 'test', 'test-2' => [ 'hello', 'world', ], 'test-3', ]; foreach ($array as $key => $value) { var_dump('Key:', $key, 'Value:', $value); }
You have javascript disabled. You will not be able to edit any code.