<?php
'id_item' => array('1', '3'), // 'id_item', 'id_item' 'cantidad' => array('15', '10') // 'cantidad', 'cantidad' );
foreach($array_atual['id_item'] as $key => $value){
$newItem = array($value, $array_atual['cantidad'][$key]); }
PD9waHAKCiRhcnJheV9maW5hbCA9IGFycmF5KCk7CiRhcnJheV9hdHVhbCA9IGFycmF5ICgKCiAgICAnaWRfaXRlbScgPT4gYXJyYXkoJzEnLCAnMycpLCAvLyAnaWRfaXRlbScsICdpZF9pdGVtJwogICAgJ2NhbnRpZGFkJyA9PiBhcnJheSgnMTUnLCAnMTAnKSAvLyAnY2FudGlkYWQnLCAnY2FudGlkYWQnCik7Cgpmb3JlYWNoKCRhcnJheV9hdHVhbFsnaWRfaXRlbSddIGFzICRrZXkgPT4gJHZhbHVlKXsKCSRuZXdJdGVtID0gYXJyYXkoJHZhbHVlLCAkYXJyYXlfYXR1YWxbJ2NhbnRpZGFkJ11bJGtleV0pOwoJYXJyYXlfcHVzaCgkYXJyYXlfZmluYWwsICRuZXdJdGVtKTsKfQoKcHJpbnRfcigkYXJyYXlfZmluYWwpOw==