3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = "1362047520"; $array = array ( 0 => 1362047520 1 => 1362042420 2 => 1362041280 3 => 1362038220 4 => 1362037680 5 => 1362037020 6 => 1362033720 7 => 1362033360 8 => 1362031620 9 => 1362030840 10 => 1362019380 11 => 1362016860 12 => 1361997660 13 => 1361996940 14 => 1361992500 15 => 1361988720 16 => 1361977740 17 => 1361964300 18 => 1361963460 19 => 1361959800 20 => 1361959560 21 => 1361955000 22 => 1361951700 23 => 1361951220 24 => 1361951100 25 => 1361949000 26 => 1361947500 27 => 1361946240 28 => 1361940180 29 => 1361906940 ); var_dump(max($array));
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '1' (T_LNUMBER), expecting ')' in /in/0AEtQ on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_LNUMBER, expecting ')' in /in/0AEtQ on line 5
Process exited with code 255.

preferences:
177.46 ms | 1395 KiB | 43 Q