array values php

39

php array_values -

<?php
$array = array("size" => "XL", "color" => "gold");
print_r(array_values($array));
?>
// ["XL","gold"]

array php -

array (size=7)
  'de' => string '99.95' (length=5)
  'por' => string '87.50' (length=5)
  'calculo' => string '87.50' (length=5)
  'promocao' => int 1
  'economia' => float 12.45
  'info_preco_variacao' => boolean true
  'hasProductInPriceList' => boolean false

Comments

Submit
0 Comments