Answers for "how to clone array in php"

PHP
1

clone array php

$b = $a
  
$b = array_merge(array(), $a); // reindex the array
Posted by: Guest on October-11-2021

Browse Popular Code Answers by Language