3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function getRates() { return array_fill( 0, 10000, array ( 'Board' => 'nin', 'Price' => 32, 'NetPrice' => 32, 'BookingFee' => 12, 'Tax' => 0, 'forfait' => 1, 'ProviderId' => 1 ) ); } $rates = array (); foreach (getRates() as $rate) { $rates[] = array ( 'board' => $rate['Board'], 'price' => $rate['Price'], 'netprice' => $rate['NetPrice'], 'bookingfee' => $rate['BookingFee'], 'tax' => $rate['Tax'] ); }
Output for 4.3.0 - 7.1.0