Data Type Php

$population = array('New York, NY' => 8008278,
                    'Los Angeles, CA' => 3694820,
                    'Chicago, IL' => 2896016,);
$total_population = 0;
ksort($population);
print "\n";
foreach ($population as $city => $people) {
    $total_population += $people;
    print "\n";
    
}
print "\n";
print "
CityPopulation
$city$people
Total$total_population
\n";
?>