<?php
$arr = array('first' => array("id"=>1,"name"=>"test","value"=>3),'second' => array("id"=>2,"name"=>"test2","value"=>4)); $name_arr[]=$val->name;
}
?>
PD9waHAKICAgJGFyciA9IGFycmF5KCdmaXJzdCcgPT4gYXJyYXkoImlkIj0+MSwibmFtZSI9PiJ0ZXN0IiwidmFsdWUiPT4zKSwnc2Vjb25kJyA9PiBhcnJheSgiaWQiPT4yLCJuYW1lIj0+InRlc3QyIiwidmFsdWUiPT40KSk7CiAgICRhcnI9IGpzb25fZW5jb2RlKCRhcnIpOwogICAkbmFtZV9hcnI9YXJyYXkoKTsKICAgZm9yZWFjaChqc29uX2RlY29kZSgkYXJyKSBhcyAkdmFsKXsKICAgICAgICAkbmFtZV9hcnJbXT0kdmFsLT5uYW1lOwogICB9CiAgIAogICB2YXJfZHVtcCgkbmFtZV9hcnIpOwo/Pg==