<?php
'B' => array(100,200,300), 'C' => array(1000,2000,3000) );
foreach($data as $key => $values)
{
{
for($i = 0; $i < count($values); $i++) {
}
}
}
PD9waHAKCiRkYXRhID0gYXJyYXkoCgknQScgPT4gYXJyYXkoMTAsMjAsMzApLAoJJ0InID0+IGFycmF5KDEwMCwyMDAsMzAwKSwKCSdDJyA9PiBhcnJheSgxMDAwLDIwMDAsMzAwMCkKCSk7CgokZGF0YV9uZXcgPSBhcnJheSgpOwpmb3JlYWNoKCRkYXRhIGFzICRrZXkgPT4gJHZhbHVlcykKewoJaWYgKGlzX2FycmF5KCR2YWx1ZXMpKQoJewoJICAgIGZvcigkaSA9IDA7ICRpIDwgY291bnQoJHZhbHVlcyk7ICRpKyspCgkgICAgewoJICAgICAgICAkZGF0YV9uZXdbJGldW10gPSBhcnJheV9zaGlmdCgkZGF0YVska2V5XSk7IAkJCgkgICAgfQkKCX0KCQp9CgpwcmludF9yKCRkYXRhX25ldyk7