Answers for "php clear array key"

PHP
2

php reset array keys

$arr = array_values($arr)
Posted by: Guest on July-09-2020
0

reset array keys php

foreach($input as &$val) {
   $val = array_values($val);
}
Posted by: Guest on May-19-2020

Browse Popular Code Answers by Language