name = $str_array[$i]; $o->age = $str_array[$i + 1]; $data[] = $o; } ?> Test pdf
Name Age
name?> age?>