Answers for "php associative array to array"

PHP
1

php transform associative array to array

$array = array_values($array);
Posted by: Guest on June-14-2020
1

php array_values

<?php
$array = array("size" => "XL", "color" => "gold");
print_r(array_values($array));
?>
// ["XL","gold"]
Posted by: Guest on April-15-2020

Code answers related to "php associative array to array"

Browse Popular Code Answers by Language