3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); $currentMonth = date('n', $now); $year = date('Y', $now); $nextMonth = $currentMonth + 1; $secondNextMonth = $currentMonth + 2; echo '<th>' . date('M', $now) . '</th>'; echo '<th>' . date('M', mktime(0, 0, 0, $nextMonth, 1, $year)) . '</th>'; echo '<th>' . date('M', mktime(0, 0, 0, $secondNextMonth, 1, $year)) . '</th>';

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)
7.4.00.0070.01314.96
7.3.120.0060.00615.18
7.3.110.0090.00914.78
7.3.100.0030.01015.02
7.3.90.0100.00315.04
7.3.80.0030.00714.80
7.3.70.0070.00714.91
7.3.60.0030.00714.72
7.3.50.0030.01014.64
7.3.40.0070.00714.86
7.3.30.0090.00614.96
7.3.20.0110.00316.55
7.3.10.0070.01016.85
7.3.00.0030.01016.46
7.2.250.0040.01515.21
7.2.240.0070.01115.36
7.2.230.0080.00415.21
7.2.220.0120.00315.41
7.2.210.0030.01315.33
7.2.200.0070.01115.05
7.2.190.0000.01015.25
7.2.180.0040.01215.14
7.2.170.0080.00814.95
7.1.330.0030.01015.59
7.1.320.0120.00415.68
7.1.310.0120.00615.92
7.1.300.0030.00915.89
7.1.290.0060.00615.85
7.1.280.0030.00715.82
7.1.270.0090.00615.87
7.1.260.0040.01115.71
7.1.70.0030.00617.15
7.1.60.0050.00517.32
7.1.50.0030.00716.75
7.1.00.0030.07722.41
7.0.200.0040.00416.79
7.0.140.0000.07721.96
7.0.110.0100.07320.09
7.0.100.0070.08020.11
7.0.90.0200.04720.00
7.0.80.0100.08320.06
7.0.70.0030.08319.98
7.0.60.0070.07320.05
7.0.50.0200.07019.97
7.0.40.0070.08019.66
7.0.30.0100.07719.71
7.0.20.0170.07019.80
7.0.10.0100.07319.69
7.0.00.0130.07719.87
5.6.280.0000.07721.09
5.6.260.0100.07320.50
5.6.250.0100.05720.59
5.6.240.0100.07720.66
5.6.230.0100.07720.47
5.6.220.0130.07720.69
5.6.210.0170.06020.39
5.6.200.0170.07320.63
5.6.190.0130.07020.56
5.6.180.0030.07720.55
5.6.170.0070.06320.68
5.6.160.0100.07320.56
5.6.150.0030.08720.61
5.6.140.0100.07320.85
5.6.130.0130.06720.61
5.6.120.0070.08720.64
5.6.110.0100.08020.69
5.6.100.0100.04720.60
5.6.90.0070.05720.63
5.6.80.0070.07319.92
5.6.70.0170.06320.05
5.6.60.0130.07019.92
5.6.50.0000.08719.97
5.6.40.0030.07020.06
5.6.30.0070.07019.97
5.6.20.0100.04020.05
5.6.10.0030.06020.04
5.6.00.0170.02720.00
5.5.380.0030.08717.63
5.5.370.0030.07717.52
5.5.360.0130.07317.43
5.5.350.0130.06717.75
5.5.340.0070.08017.87
5.5.330.0100.07317.99
5.5.320.0000.05318.13
5.5.310.0070.08318.12
5.5.300.0130.07718.15
5.5.290.0170.07318.00
5.5.280.0130.07317.86
5.5.270.0070.07717.86
5.5.260.0100.07718.25
5.5.250.0130.08017.68
5.5.240.0100.07317.25
5.5.230.0070.07717.27
5.5.220.0100.07317.22
5.5.210.0100.07717.63
5.5.200.0130.07317.21
5.5.190.0100.07717.51
5.5.180.0100.07717.36
5.5.160.0100.03317.45
5.5.150.0030.08717.47
5.5.140.0130.02717.20
5.5.130.0070.06717.21
5.5.120.0070.06017.21
5.5.110.0030.06017.23
5.5.100.0030.06717.12
5.5.90.0030.03717.14
5.5.80.0100.07317.34
5.5.70.0070.06317.49
5.5.60.0030.04317.25
5.5.50.0070.05717.09
5.5.40.0030.05017.08
5.5.30.0070.04017.08
5.5.20.0000.04317.36
5.5.10.0030.03717.10
5.5.00.0030.04317.39
5.4.450.0000.09019.45
5.4.440.0170.07319.33
5.4.430.0130.08019.25
5.4.420.0100.07019.57
5.4.410.0070.06319.15
5.4.400.0070.08019.18
5.4.390.0100.07319.12
5.4.380.0200.04319.03
5.4.370.0130.07719.12
5.4.360.0070.08018.98
5.4.350.0030.06019.11
5.4.340.0000.07019.27
5.4.320.0100.06318.93
5.4.310.0030.07019.07
5.4.300.0070.03318.98
5.4.290.0030.08319.00
5.4.280.0170.05019.20
5.4.270.0100.07318.95
5.4.260.0030.06719.07
5.4.250.0030.06718.94
5.4.240.0070.03319.00
5.4.230.0100.07319.17
5.4.220.0100.05719.02
5.4.210.0030.08319.24
5.4.200.0000.04019.24
5.4.190.0000.04019.24
5.4.180.0100.03018.95
5.4.170.0030.03719.26
5.4.160.0000.04019.05
5.4.150.0070.03318.96
5.4.140.0000.03716.29
5.4.130.0030.03316.31
5.4.120.0000.03316.31
5.4.110.0000.03316.46
5.4.100.0000.03316.54
5.4.90.0070.07016.54
5.4.80.0030.03316.55
5.4.70.0070.05716.54
5.4.60.0000.04016.48
5.4.50.0030.03316.35
5.4.40.0030.05316.55
5.4.30.0030.04016.49
5.4.20.0000.03716.26
5.4.10.0100.03016.47
5.4.00.0000.03715.84
5.3.290.0130.07014.49
5.3.280.0100.08014.47
5.3.270.0030.03714.46
5.3.260.0000.04014.53
5.3.250.0070.03014.68
5.3.240.0100.03314.61
5.3.230.0000.03714.54
5.3.220.0070.02714.64
5.3.210.0070.06314.60
5.3.200.0070.04314.66
5.3.190.0000.05014.35
5.3.180.0100.06714.57
5.3.170.0000.06714.42
5.3.160.0030.03714.47
5.3.150.0030.04014.58
5.3.140.0030.03314.40
5.3.130.0000.04014.43
5.3.120.0030.06714.48
5.3.110.0030.03714.55
5.3.100.0070.03313.87
5.3.90.0030.04713.90
5.3.80.0070.03313.89
5.3.70.0030.03713.80
5.3.60.0070.03013.88
5.3.50.0030.03713.73
5.3.40.0070.03313.91
5.3.30.0030.03313.84
5.3.20.0000.03713.59
5.3.10.0030.03713.57
5.3.00.0070.03313.49
5.2.170.0070.02712.21
5.2.160.0030.03312.21
5.2.150.0070.02312.21
5.2.140.0100.02312.21
5.2.130.0030.03312.21
5.2.120.0000.03712.21
5.2.110.0000.03012.21
5.2.100.0030.02712.21
5.2.90.0000.03312.21
5.2.80.0000.03012.21
5.2.70.0000.03012.21
5.2.60.0000.03012.21
5.2.50.0030.03012.21
5.2.40.0030.02312.21
5.2.30.0000.03012.21
5.2.20.0030.03012.21
5.2.10.0000.03012.21
5.2.00.0000.03012.21
5.1.60.0000.03012.21
5.1.50.0000.03312.21
5.1.40.0030.02712.21
5.1.30.0000.02712.21
5.1.20.0000.02712.21
5.1.10.0000.04012.21
5.1.00.0030.05712.21
5.0.50.0030.04312.21
5.0.40.0030.03012.21
5.0.30.0030.04712.21
5.0.20.0070.04012.21
5.0.10.0100.03712.21
5.0.00.0000.06712.21
4.4.90.0000.02712.21
4.4.80.0030.01312.21
4.4.70.0030.01312.21
4.4.60.0030.01312.21
4.4.50.0000.01312.21
4.4.40.0000.03312.21
4.4.30.0030.02312.21
4.4.20.0000.01712.21
4.4.10.0000.03012.21
4.4.00.0000.05312.21
4.3.110.0030.03312.21
4.3.100.0000.03312.21
4.3.90.0000.03312.21
4.3.80.0000.05312.21
4.3.70.0000.03012.21
4.3.60.0030.03312.21
4.3.50.0000.04012.21
4.3.40.0030.04012.21
4.3.30.0030.03012.21
4.3.20.0030.03712.21
4.3.10.0070.03012.21
4.3.00.0030.02712.21

preferences:
37.25 ms | 401 KiB | 5 Q