<?php
function getRates() {
return array (
'Board' => 'nin',
'Price' => 32,
'NetPrice' => 32,
'BookingFee' => 12,
'Tax' => 0,
'forfait' => 1,
'ProviderId' => 1
);
}
$max = 10000;
$rates = array ();
for ($i = 0; $i < $max; $i++) {
$rate = getRates();
$rates[] = array (
'board' => $rate['Board'],
'price' => $rate['Price'],
'netprice' => $rate['NetPrice'],
'bookingfee' => $rate['BookingFee'],
'tax' => $rate['Tax']
);
}
}
- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected '}' in /in/egRqE on line 28
Process exited with code 255.
preferences:
193.26 ms | 1395 KiB | 66 Q