3v4l.org

run code in 300+ PHP versions simultaneously
<?php (new class { private $recursion = 0; // just so we don't abuse 3v4l function __invoke() { echo "all by myself...", PHP_EOL; $this->recursion++; sleep(1); if($this->recursion < 3) $this(); } })();

Abusive script

This script was stopped while abusing our resources

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)
8.3.110.0180.00016.61
8.3.100.0140.00016.41
8.3.90.0120.00318.41
8.3.80.0000.00916.50
8.3.70.0120.00316.58
8.3.60.0140.00718.50
8.3.50.0160.00321.21
8.3.40.0150.00318.67
8.3.30.0110.00319.18
8.3.20.0050.00320.34
8.3.10.0050.00323.53
8.3.00.0060.00323.53
8.2.230.0090.00920.94
8.2.220.0060.00624.06
8.2.210.0090.00026.77
8.2.200.0090.00016.63
8.2.190.0040.01116.58
8.2.180.0140.00716.50
8.2.170.0040.01522.96
8.2.160.0030.01022.34
8.2.150.0070.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0060.00317.38
8.2.110.0170.00322.11
8.2.100.0030.00917.50
8.2.90.0030.00519.23
8.2.80.0050.00517.97
8.2.70.0040.00417.63
8.2.60.0070.00217.93
8.2.50.0000.00818.07
8.2.40.0040.00420.96
8.2.30.0040.00419.91
8.2.20.0040.00417.82
8.2.10.0020.00518.00
8.2.00.0020.00518.05
8.1.290.0040.00730.84
8.1.280.0100.00725.92
8.1.270.0040.00420.43
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0080.01123.92
8.1.230.0000.01217.42
8.1.220.0000.00717.74
8.1.210.0070.00218.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0070.00018.56
8.1.160.0040.00422.07
8.1.150.0000.00718.86
8.1.140.0000.00717.56
8.1.130.0070.00017.80
8.1.120.0000.00717.57
8.1.110.0040.00417.43
8.1.100.0000.00717.41
8.1.90.0070.00017.42
8.1.80.0050.00517.48
8.1.70.0030.00517.52
8.1.60.0030.00517.70
8.1.50.0080.00017.65
8.1.40.0060.00317.57
8.1.30.0000.00917.48
8.1.20.0050.00217.61
8.1.10.0080.00017.66
8.1.00.0050.00217.50
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0030.00318.32
8.0.270.0000.00716.76
8.0.260.0030.00317.19
8.0.250.0000.00816.81
8.0.240.0020.00516.80
8.0.230.0000.00816.89
8.0.220.0030.00316.82
8.0.210.0000.00716.76
8.0.200.0060.00016.72
8.0.190.0040.00416.88
8.0.180.0060.00316.68
8.0.170.0040.00416.73
8.0.160.0040.00416.92
8.0.150.0050.00216.84
8.0.140.0080.00016.84
8.0.130.0000.00613.36
8.0.120.0030.00516.82
8.0.110.0040.00416.74
8.0.100.0070.00016.80
8.0.90.0040.00416.64
8.0.80.0070.01016.71
8.0.70.0050.00216.66
8.0.60.0020.00516.64
8.0.50.0060.00316.80
8.0.30.0110.00716.75
8.0.20.0110.00917.40
8.0.10.0000.00816.75
8.0.00.0110.00816.54
7.4.330.0000.00615.09
7.4.320.0060.00016.46
7.4.300.0020.00416.44
7.4.290.0100.00016.47
7.4.280.0090.00016.31
7.4.270.0000.00816.38
7.4.260.0000.00816.45
7.4.250.0000.00716.28
7.4.240.0030.00416.35
7.4.230.0030.00316.56
7.4.220.0100.00916.54
7.4.210.0080.01116.57
7.4.200.0000.00716.54
7.4.160.0090.00616.32
7.4.150.0080.00817.40
7.4.140.0120.00617.86
7.4.130.0090.01116.48
7.4.120.0110.00516.57
7.4.110.0110.00816.51
7.4.100.0130.00316.43
7.4.90.0090.00616.39
7.4.80.0080.00819.39
7.4.70.0090.00916.42
7.4.60.0100.00516.50
7.4.50.0000.00716.21
7.4.40.0080.00816.50
7.4.30.0110.01116.37
7.4.00.0040.01114.84
7.3.330.0050.00013.26
7.3.320.0000.00513.31
7.3.310.0040.00416.26
7.3.300.0070.00016.03
7.3.290.0080.00916.11
7.3.280.0070.00816.18
7.3.270.0130.01017.40
7.3.260.0110.00716.23
7.3.250.0120.00616.20
7.3.240.0060.01116.21
7.3.230.0120.00616.39
7.3.210.0090.00616.29
7.3.200.0060.01216.13
7.3.190.0120.00716.19
7.3.180.0080.00816.31
7.3.170.0120.00416.34
7.3.160.0120.00416.42
7.2.330.0190.00316.70
7.2.320.0090.01216.43
7.2.310.0100.00716.48
7.2.300.0090.00616.43
7.2.290.0060.01116.46
7.2.60.0040.00816.72
7.1.200.0050.00515.64
7.1.100.0040.01118.00
7.1.70.0090.00416.93
7.1.60.0100.00719.42
7.1.50.0090.00917.02
7.1.00.0000.09722.24
7.0.200.0500.01014.56
7.0.60.0100.08019.88
7.0.50.0000.04317.89
7.0.40.0070.09019.71
7.0.30.0330.06019.95
7.0.20.0370.06019.71
7.0.10.0100.08319.81
7.0.00.0130.03019.83
5.6.280.0030.04321.04
5.6.210.0100.08020.72
5.6.200.0070.05018.22
5.6.190.0000.05720.33
5.6.180.0230.08320.34
5.6.170.0230.06320.55
5.6.160.0070.08320.55
5.6.150.0070.07718.18
5.6.140.0070.07318.18
5.6.130.0070.05018.15
5.6.120.0070.08320.90
5.6.110.0170.07720.96
5.6.100.0030.04020.97
5.6.90.0170.08020.98
5.6.80.0030.05320.39
5.5.350.0030.08020.33
5.5.340.0070.05718.08
5.5.330.0000.04720.29
5.5.320.4700.04020.31
5.5.310.0330.04720.19
5.5.300.0070.03717.97
5.5.290.0130.07718.06
5.5.280.0030.09020.68
5.5.270.0200.07020.74
5.5.260.0100.07320.86
5.5.250.0030.08320.70
5.5.240.0070.07720.03
5.4.450.0170.05019.55
5.4.440.0630.07319.49
5.4.430.0670.05319.70
5.4.420.0470.05719.38
5.4.410.0670.05319.34
5.4.400.0700.07019.38
5.4.390.0370.06319.23
5.4.380.0130.06719.23
5.4.370.0200.05719.14
5.4.360.0430.05719.21
5.4.350.0600.05318.88
5.4.340.0630.05719.06
5.4.320.0870.06719.01
5.4.310.0500.05019.11
5.4.300.0570.04318.96
5.4.290.0570.05319.15
5.4.280.0570.06319.15
5.4.270.0430.05318.98
5.4.260.0830.06319.30
5.4.250.0130.05018.84
5.4.240.0000.06319.25
5.4.230.0500.05019.25
5.4.220.0800.04719.12
5.4.210.0530.06019.01
5.4.200.0730.04316.71
5.4.190.0030.05719.28
5.4.180.0070.05319.14
5.4.170.0300.05319.02
5.4.160.0670.05019.00
5.4.150.0830.05019.34
5.4.140.0930.05016.66
5.4.130.0800.05016.41
5.4.120.0770.04716.31
5.4.110.0530.05316.57
5.4.100.0670.05016.43
5.4.90.0500.05316.68
5.4.80.0300.05316.54
5.4.70.0130.04716.29
5.4.60.0030.07016.52
5.4.50.0030.04316.43
5.4.40.0200.03016.51
5.4.30.0200.03016.48
5.4.20.0030.04316.16

preferences:
89.96 ms | 1450 KiB | 5 Q