- var_dump: documentation ( source)
- next: documentation ( source)
- current: documentation ( source)
<?php
$test_arr = [
[ 'item_name' => "aaa" ],
[ 'item_name' => "bbb" ],
[ 'item_name' => "ccc" ],
];
next($test_arr);
$v = current($test_arr)['item_name'];
var_dump($v);
// string(3) "bbb"