fork download
  1. <?php
  2. $polylines = [
  3. 'latitude' => array(73.9289238, 83.928392832, 03.293892832),
  4. 'longitude' => array(-122.29839238, 21.928918291, 30.203929832)
  5. ];
  6. foreach ($polylines as $valor) {
  7. foreach ($valor as $item) echo $item . "\n";
  8. echo "\n";
  9. }
  10.  
  11. //https://pt.stackoverflow.com/q/392407/101
Success #stdin #stdout 0s 82560KB
stdin
Standard input is empty
stdout
73.9289238
83.928392832
3.293892832

-122.29839238
21.928918291
30.203929832