3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('date.timezone', 'Europe/Prague'); $dt = new DateTime('2014-03-29 12:00:00', new DateTimeZone('Europe/Prague'); $dt_t = $dt->format('U'); echo $dt->format('c');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.290.0090.06112.49
5.4.280.0120.05012.39
5.4.270.0080.05212.39
5.4.260.0070.04712.39
5.4.250.0020.04312.39
5.4.240.0080.04112.39
5.4.230.0050.04012.38
5.4.220.0100.04212.38
5.4.210.0070.03912.38
5.4.200.0070.03812.38
5.4.190.0050.03912.38
5.4.180.0050.03912.38
5.4.170.0090.04812.38
5.4.160.0100.04612.38
5.4.150.0090.05312.38
5.4.140.0100.04712.07
5.4.130.0100.04512.05
5.4.120.0100.05312.02
5.4.110.0110.04112.01
5.4.100.0100.04012.01
5.4.90.0060.04212.01
5.4.80.0090.06812.01
5.4.70.0080.04112.01
5.4.60.0080.03412.01
5.4.50.0110.04712.01
5.4.40.0120.04911.99
5.4.30.0090.04811.99
5.4.20.0110.04511.99
5.4.10.0080.05211.99
5.4.00.0100.06611.48
5.3.280.0080.05312.71
5.3.270.0060.05012.72
5.3.260.0110.05912.72
5.3.250.0120.06512.72
5.3.240.0060.04712.72
5.3.230.0080.04012.71
5.3.220.0080.04212.68
5.3.210.0100.06812.68
5.3.200.0120.05812.68
5.3.190.0100.04912.68
5.3.180.0090.05012.67
5.3.170.0100.06012.67
5.3.160.0110.04912.68
5.3.150.0090.04512.67
5.3.140.0100.05112.66
5.3.130.0130.04812.66
5.3.120.0090.04512.66
5.3.110.0090.05412.66
5.3.100.0120.05412.12
5.3.90.0090.04712.08
5.3.80.0080.04412.08
5.3.70.0080.04912.08
5.3.60.0100.04212.06
5.3.50.0110.04112.00
5.3.40.0080.04912.00
5.3.30.0130.04311.95
5.3.20.0070.04711.73
5.3.10.0110.06311.70
5.3.00.0070.04311.69
5.2.170.0070.0399.18
5.2.160.0080.0379.18
5.2.150.0100.0429.18
5.2.140.0100.0419.18
5.2.130.0090.0369.14
5.2.120.0110.0439.14
5.2.110.0100.0389.15
5.2.100.0090.0489.14
5.2.90.0070.0399.14
5.2.80.0050.0369.14
5.2.70.0030.0349.14
5.2.60.0070.0309.09
5.2.50.0070.0329.06
5.2.40.0040.0329.04
5.2.30.0050.0339.01
5.2.20.0070.0349.00
5.2.10.0070.0378.92
5.2.00.0050.0388.78
5.1.60.0050.0318.07
5.1.50.0050.0278.07
5.1.40.0040.0298.05
5.1.30.0070.0298.40
5.1.20.0110.0498.42
5.1.10.0050.0448.15
5.1.00.0070.0368.14
5.0.50.0070.0236.62
5.0.40.0060.0316.48
5.0.30.0080.0496.29
5.0.20.0050.0346.26
5.0.10.0080.0346.24
5.0.00.0050.0326.23
4.4.90.0040.0274.78
4.4.80.0040.0194.76
4.4.70.0040.0214.75
4.4.60.0040.0194.76
4.4.50.0020.0174.77
4.4.40.0030.0274.71
4.4.30.0030.0254.76
4.4.20.0050.0234.84
4.4.10.0050.0184.85
4.4.00.0040.0364.76
4.3.110.0080.0234.67
4.3.100.0060.0264.67
4.3.90.0070.0384.63
4.3.80.0050.0384.59
4.3.70.0090.0274.63
4.3.60.0080.0314.63
4.3.50.0060.0254.63
4.3.40.0040.0304.54
4.3.30.0050.0333.28
4.3.20.0030.0363.26
4.3.10.0030.0273.22
4.3.00.0030.01316.15

preferences:
135.67 ms | 1398 KiB | 7 Q