3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1 = strtotime('2015-05-30') $time2 = strtotime('2015-05-01') echo floor(($time1 - $time2)/86400);

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.390.0130.05318.52
5.4.380.0130.05718.78
5.4.370.0100.05718.66
5.4.360.0170.05018.52
5.4.350.0100.06018.76
5.4.340.0130.05718.66
5.4.320.0230.05018.77
5.4.310.0130.06318.73
5.4.300.0170.05318.50
5.4.290.0230.04318.68
5.4.280.0170.05318.78
5.4.270.0130.05318.78
5.4.260.0230.04718.72
5.4.250.0230.04718.57
5.4.240.0230.05718.82
5.4.230.0100.06018.51
5.4.220.0170.06318.47
5.4.210.0130.06018.53
5.4.200.0170.05316.61
5.4.190.0200.05318.76
5.4.180.0300.04018.48
5.4.170.0200.05018.82
5.4.160.0230.05018.72
5.4.150.0270.04318.73
5.4.140.0270.05016.29
5.4.130.0130.05016.29
5.4.120.0270.04016.22
5.4.110.0130.05316.27
5.4.100.0130.05016.29
5.4.90.0230.04716.25
5.4.80.0270.04016.38
5.4.70.0270.04016.27
5.4.60.0170.05016.14
5.4.50.0100.05716.25
5.4.40.0170.05016.21
5.4.30.0170.05316.26
5.4.20.0230.04316.36
5.4.10.0270.05716.16
5.4.00.0200.06015.67
5.3.290.0230.07014.59
5.3.280.0200.06714.57
5.3.270.0230.06714.66
5.3.260.0230.06714.58
5.3.250.0170.05014.60
5.3.240.0130.05314.52
5.3.230.0100.06014.51
5.3.220.0170.05014.52
5.3.210.0100.05314.57
5.3.200.0100.05714.59
5.3.190.0130.05314.66
5.3.180.0230.04314.50
5.3.170.0200.04714.47
5.3.160.0100.05314.55
5.3.150.0200.04714.55
5.3.140.0400.04714.56
5.3.130.0200.05014.46
5.3.120.0130.05714.46
5.3.110.0130.06714.47
5.3.100.0100.07313.95
5.3.90.0200.06714.11
5.3.80.0230.06014.11
5.3.70.0200.06313.92
5.3.60.0170.06713.92
5.3.50.0130.07013.89
5.3.40.0130.07013.91
5.3.30.0170.06713.98
5.3.20.0230.05713.72
5.3.10.0200.06013.62
5.3.00.0170.05013.71
5.2.170.0130.04011.29
5.2.160.0170.04711.18
5.2.150.0170.03711.16
5.2.140.0030.05011.30
5.2.130.0130.03711.05
5.2.120.0030.04711.06
5.2.110.0000.05311.10
5.2.100.0170.04011.09
5.2.90.0200.03711.24
5.2.80.0070.04711.07
5.2.70.0130.04011.01
5.2.60.0070.05011.10
5.2.50.0130.04711.07
5.2.40.0130.04311.04
5.2.30.0170.03310.95
5.2.20.0170.03311.02
5.2.10.0070.04310.86
5.2.00.0130.04710.69
5.1.60.0030.0409.95
5.1.50.0030.04010.13
5.1.40.0170.04010.09
5.1.30.0070.04010.41
5.1.20.0100.03710.40
5.1.10.0070.04010.08
5.1.00.0170.03010.04
5.0.50.0070.0278.66
5.0.40.0100.0278.44
5.0.30.0070.0438.20
5.0.20.0100.0238.32
5.0.10.0070.0278.15
5.0.00.0000.0478.27
4.4.90.0030.0235.82
4.4.80.0030.0235.91
4.4.70.0030.0235.81
4.4.60.0000.0335.86
4.4.50.0100.0275.82
4.4.40.0030.0475.82
4.4.30.0130.0135.88
4.4.20.0030.0235.96
4.4.10.0030.0235.97
4.4.00.0030.0375.91
4.3.110.0070.0205.80
4.3.100.0070.0205.78
4.3.90.0030.0235.80
4.3.80.0170.0235.82
4.3.70.0070.0205.81
4.3.60.0070.0205.79
4.3.50.0030.0235.80
4.3.40.0070.0335.76
4.3.30.0030.0204.61
4.3.20.0100.0174.53
4.3.10.0030.0274.50
4.3.00.0030.0239.49

preferences:
147.06 ms | 1394 KiB | 7 Q