3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $delay = 6000000; if (!(isset($_SESSION['lastsent-post']) && microtime() >= $_SESSION['lastsent-post'] + $delay)) { throw new \Exception("Please wait at least 6 seconds until you can post again"); } else { $_SESSION['lastsent-post'] = microtime(); } } catch (\Exception $Exception) { var_dump($Exception->getMessage()); }

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.0030.01014.75
7.3.120.0140.00315.00
7.3.110.0110.00714.58
7.3.100.0110.00415.00
7.3.90.0060.00315.03
7.3.80.0090.00614.87
7.3.70.0120.00314.90
7.3.60.0000.01014.70
7.3.50.0000.01614.56
7.3.40.0070.00414.75
7.3.30.0110.00014.79
7.3.20.0000.01316.72
7.3.10.0060.00616.58
7.3.00.0030.01216.78
7.2.250.0030.01514.94
7.2.240.0070.00715.09
7.2.230.0030.01414.66
7.2.220.0090.00315.26
7.2.210.0040.01115.09
7.2.200.0080.00815.03
7.2.190.0040.00714.90
7.2.180.0070.01114.82
7.2.170.0030.01214.98
7.1.330.0060.00915.86
7.1.320.0040.01115.55
7.1.310.0040.00815.62
7.1.300.0130.00615.57
7.1.290.0000.01415.47
7.1.280.0090.00615.76
7.1.270.0060.00615.77
7.1.260.0000.01215.80
7.1.70.0000.01117.07
7.1.60.0030.01019.86
7.1.50.0030.01916.85
7.1.00.0070.07322.57
7.0.200.0060.00316.72
7.0.60.0030.05019.94
7.0.50.0030.04717.89
7.0.40.0200.07319.99
7.0.30.0270.04720.18
7.0.20.0200.08720.30
7.0.10.0000.06020.20
7.0.00.0130.07720.14
5.6.280.0030.07320.92
5.6.210.0070.08320.72
5.6.200.0100.04318.12
5.6.190.0000.07720.65
5.6.180.0230.04020.49
5.6.170.0230.03720.46
5.6.160.0130.07720.41
5.6.150.0030.08718.21
5.6.140.0030.04018.11
5.6.130.0000.07018.16
5.6.120.0070.05321.00
5.6.110.0070.08321.01
5.6.100.0130.07720.88
5.6.90.0130.08021.01
5.6.80.0030.08320.53
5.5.350.0100.07720.41
5.5.340.0030.08717.94
5.5.330.0100.08020.22
5.5.320.2930.04720.52
5.5.310.0270.08020.29
5.5.300.0070.03718.01
5.5.290.0030.05317.99
5.5.280.0030.06020.90
5.5.270.0130.08020.75
5.5.260.0070.08020.63
5.5.250.0130.06720.68
5.5.240.0170.03020.26
5.4.450.0270.04319.25
5.4.440.0600.04719.25
5.4.430.0070.05719.30
5.4.420.0130.05019.50
5.4.410.0070.06018.72
5.4.400.0130.05318.50
5.4.390.0070.05318.74
5.4.380.0130.06018.70
5.4.370.0170.04718.62
5.4.360.0000.06018.52
5.4.350.0130.05018.46
5.4.340.0100.05318.74
5.4.320.0170.04718.65
5.4.310.0100.05318.70
5.4.300.0070.05718.77
5.4.290.0130.04718.46
5.4.280.0130.05018.56
5.4.270.0170.04318.73
5.4.260.0070.05718.77
5.4.250.0170.05018.62
5.4.240.0370.04718.55
5.4.230.0200.04018.48
5.4.220.0070.05718.43
5.4.210.0070.05318.67
5.4.200.0030.05716.65
5.4.190.0100.05718.68
5.4.180.0000.06018.68
5.4.170.0170.04718.47
5.4.160.0130.04718.63
5.4.150.0000.06018.68
5.4.140.0130.04716.18
5.4.130.0070.05016.08
5.4.120.0070.05016.13
5.4.110.0130.04716.14
5.4.100.0030.05716.26
5.4.90.0100.05016.24
5.4.80.0170.04316.25
5.4.70.0100.05016.29
5.4.60.0130.04716.04
5.4.50.0170.04716.02
5.4.40.0100.05016.22
5.4.30.0070.05016.03
5.4.20.0100.05016.11
5.4.10.0070.05316.24
5.4.00.0070.05015.70
5.3.290.0130.05014.70
5.3.280.0170.04314.74
5.3.270.0000.06014.70
5.3.260.0070.05714.58
5.3.250.0030.06014.53
5.3.240.0100.05314.70
5.3.230.0130.05014.58
5.3.220.0100.05014.50
5.3.210.0200.04314.55
5.3.200.0100.05014.55
5.3.190.0130.04714.55
5.3.180.0170.04314.63
5.3.170.0070.05314.54
5.3.160.0070.05314.63
5.3.150.0100.05014.55
5.3.140.0030.05714.52
5.3.130.0130.05014.49
5.3.120.0070.06014.46
5.3.110.0130.05014.62
5.3.100.0130.04714.13
5.3.90.0100.05014.09
5.3.80.0100.05314.12
5.3.70.0100.04714.01
5.3.60.0070.05014.01
5.3.50.0170.04313.91
5.3.40.0170.04313.85
5.3.30.0100.04713.94
5.3.20.0030.05313.62
5.3.10.0100.04713.62
5.3.00.0070.05313.62
5.2.170.0030.04311.09
5.2.160.0070.04011.19
5.2.150.0030.04711.10
5.2.140.0070.04011.05
5.2.130.0000.04711.05
5.2.120.0030.04311.11
5.2.110.0030.04311.01
5.2.100.0130.03311.03
5.2.90.0100.03711.02
5.2.80.0100.04011.15
5.2.70.0170.03311.07
5.2.60.0030.04311.09
5.2.50.0130.03711.05
5.2.40.0130.03011.05
5.2.30.0030.04310.88
5.2.20.0100.03710.87
5.2.10.0100.04311.00
5.2.00.0070.04010.72
5.1.60.0000.04010.12
5.1.50.0130.02710.11
5.1.40.0070.0339.97
5.1.30.0030.03710.37
5.1.20.0070.03710.48
5.1.10.0130.03010.17
5.1.00.0100.03310.10
5.0.50.0070.0278.65
5.0.40.0100.0238.45
5.0.30.0070.0408.29
5.0.20.0030.0278.27
5.0.10.0030.0308.24
5.0.00.0030.0438.20
4.4.90.0030.0205.89
4.4.80.0030.0205.90
4.4.70.0100.0175.87
4.4.60.0070.0175.86
4.4.50.0000.0235.90
4.4.40.0100.0275.93
4.4.30.0000.0235.93
4.4.20.0000.0235.93
4.4.10.0030.0205.94
4.4.00.0030.0335.90
4.3.110.0030.0235.80
4.3.100.0000.0305.75
4.3.90.0100.0135.79
4.3.80.0070.0335.91
4.3.70.0100.0175.82
4.3.60.0000.0235.83
4.3.50.0030.0205.91
4.3.40.0070.0305.75
4.3.30.0000.0234.59
4.3.20.0030.0204.54
4.3.10.0030.0204.48
4.3.00.0070.01315.60

preferences:
44.66 ms | 1315 KiB | 5 Q