3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public function something() { print_r(debug_backtrace(0 | 0)); } } class bar { public static function elses() { $foo = new foo(); $foo->something(); } } bar::elses();

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.60.0030.01018.43
8.3.50.0140.00722.04
8.3.40.0110.00418.42
8.3.30.0070.00718.82
8.3.20.0040.00420.22
8.3.10.0040.00420.41
8.3.00.0050.00319.25
8.2.180.0150.00616.63
8.2.170.0110.00422.96
8.2.160.0130.00020.32
8.2.150.0070.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00620.75
8.2.110.0000.00920.52
8.2.100.0090.00318.09
8.2.90.0000.00819.23
8.2.80.0030.00517.97
8.2.70.0030.00517.38
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0040.00418.03
8.2.30.0030.00619.46
8.2.20.0000.00717.61
8.2.10.0040.00418.05
8.2.00.0030.00617.59
8.1.280.0120.00625.92
8.1.270.0060.00322.19
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.68
8.1.230.0070.00419.10
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00317.10
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0060.00318.44
8.1.160.0000.00722.02
8.1.150.0000.00718.75
8.1.140.0080.00017.30
8.1.130.0070.00017.78
8.1.120.0070.00017.41
8.1.110.0050.00217.43
8.1.100.0030.00417.32
8.1.90.0040.00317.41
8.1.80.0000.00717.39
8.1.70.0040.00417.34
8.1.60.0000.00817.46
8.1.50.0050.00217.53
8.1.40.0000.00817.49
8.1.30.0040.00417.48
8.1.20.0030.00617.54
8.1.10.0000.00717.48
8.1.00.0050.00217.45
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.41
8.0.270.0050.00217.15
8.0.260.0030.00317.23
8.0.250.0000.00716.79
8.0.240.0030.00316.88
8.0.230.0030.00316.90
8.0.220.0040.00416.86
8.0.210.0030.00316.80
8.0.200.0000.00616.90
8.0.190.0000.00816.75
8.0.180.0000.00716.83
8.0.170.0040.00416.86
8.0.160.0000.00716.85
8.0.150.0040.00416.58
8.0.140.0000.00716.71
8.0.130.0030.00313.28
8.0.120.0040.00416.75
8.0.110.0040.00416.75
8.0.100.0000.00716.71
8.0.90.0070.00016.70
8.0.80.0070.00716.80
8.0.70.0050.00316.86
8.0.60.0040.00416.80
8.0.50.0000.00716.81
8.0.30.0130.00616.92
8.0.20.0150.00417.40
8.0.10.0070.00016.77
8.0.00.0090.01116.55
7.4.330.0000.00515.00
7.4.320.0000.00616.52
7.4.300.0000.00616.59
7.4.290.0030.00316.59
7.4.280.0050.00316.49
7.4.270.0020.00516.41
7.4.260.0050.00216.45
7.4.250.0000.00816.52
7.4.240.0000.00716.60
7.4.230.0030.00316.54
7.4.220.0130.00316.51
7.4.210.0030.01016.53
7.4.200.0000.00716.42
7.4.160.0080.01416.41
7.4.150.0120.01217.40
7.4.140.0120.00817.86
7.4.130.0100.00816.47
7.4.120.0090.00716.49
7.4.110.0080.00916.62
7.4.100.0140.00316.34
7.4.90.0060.01616.44
7.4.80.0130.00916.48
7.4.70.0040.01216.18
7.4.60.0110.00616.29
7.4.50.0000.00916.44
7.4.40.0080.00816.43
7.4.30.0110.00516.29
7.4.00.0060.00815.06
7.3.330.0030.00313.01
7.3.320.0030.00313.05
7.3.310.0030.00316.28
7.3.300.0000.00716.23
7.3.290.0070.00716.20
7.3.280.0040.01216.26
7.3.270.0110.00717.40
7.3.260.0140.01016.18
7.3.250.0100.00916.34
7.3.240.0100.00716.23
7.3.230.0000.01616.46
7.3.210.0120.00616.53
7.3.200.0100.00719.39
7.3.190.0060.01516.27
7.3.180.0080.00816.45
7.3.170.0100.00716.39
7.3.160.0130.00316.33
7.3.10.0120.01216.25
7.3.00.0120.00616.60
7.2.330.0110.00716.61
7.2.320.0100.00716.58
7.2.310.0070.01016.70
7.2.300.0030.01316.62
7.2.290.0070.01016.32
7.2.130.0050.01116.70
7.2.120.0110.01116.89
7.2.110.0030.01016.64
7.2.100.0040.00416.66
7.2.90.0120.00316.71
7.2.80.0060.00916.81
7.2.70.0040.01116.90
7.2.60.0080.00616.70
7.2.50.0050.00816.83
7.2.40.0120.00316.84
7.2.30.0070.01116.70
7.2.20.0110.00416.76
7.2.10.0140.00316.69
7.2.00.0100.00617.89
7.1.250.0150.00715.73
7.1.200.0080.00015.56
7.1.100.0550.01515.60
7.1.70.0030.00717.25
7.1.60.0150.01119.32
7.1.50.0070.01516.70
7.1.00.0030.07722.36
7.0.200.0100.00016.68
7.0.140.0100.06322.21
7.0.60.0000.04719.94
7.0.50.0030.05317.96
7.0.40.0100.05020.12
7.0.30.0630.06720.34
7.0.20.0270.08320.17
7.0.10.0400.06320.13
7.0.00.0070.04720.15
5.6.280.0000.07721.03
5.6.210.0130.08020.71
5.6.200.0100.05718.25
5.6.190.0100.08320.61
5.6.180.0330.06720.77
5.6.170.0470.07320.45
5.6.160.0030.04320.48
5.6.150.0200.05018.29
5.6.140.0070.08318.28
5.6.130.0070.05318.21
5.6.120.0000.06020.90
5.6.110.0070.09020.98
5.6.100.0000.06320.99
5.6.90.0100.04321.01
5.6.80.0170.07320.38
5.6.70.3800.04020.39
5.5.350.0170.06320.41
5.5.340.0070.03717.98
5.5.330.0070.04020.43
5.5.320.0430.04020.27
5.5.310.0400.07020.35
5.5.300.0030.05017.94
5.5.290.0030.05317.96
5.5.280.0070.03720.81
5.5.270.0030.04720.68
5.5.260.0070.06720.85
5.5.250.0070.08020.62
5.5.240.0200.04320.28
5.4.450.0530.05319.62
5.4.440.0500.05719.58
5.4.430.0270.07019.58
5.4.420.0170.05019.38
5.4.410.0230.05719.04
5.4.400.0400.05319.08
5.4.390.0500.04719.28
5.4.380.0470.05718.78
5.4.370.0530.05018.80
5.4.360.0330.07018.84
5.4.350.0400.05018.80
5.4.340.0300.05718.84
5.4.320.0030.03912.51
5.4.310.0070.04312.50
5.4.300.0040.04112.51
5.4.290.0080.03612.50
5.4.280.0070.03412.40
5.4.270.0050.03812.40
5.4.260.0120.03212.40
5.4.250.0080.03612.40
5.4.240.0060.04212.40
5.4.230.0070.04312.39
5.4.220.0040.04712.39
5.4.210.0100.04212.39
5.4.200.0030.03912.39
5.4.190.0080.03412.38
5.4.180.0060.03712.38
5.4.170.0080.03812.40
5.4.160.0090.03212.39
5.4.150.0040.03712.39
5.4.140.0070.03612.07
5.4.130.0060.03512.06
5.4.120.0060.03412.02
5.4.110.0050.03612.02
5.4.100.0080.03212.02
5.4.90.0040.03812.02
5.4.80.0080.04012.02
5.4.70.0080.03212.01
5.4.60.0030.04412.02
5.4.50.0070.03412.01
5.4.40.0030.03812.00
5.4.30.0050.04511.99
5.4.20.0090.03512.00
5.4.10.0100.03412.00
5.4.00.0070.04111.48
5.3.290.0050.04112.80
5.3.280.0050.03812.71
5.3.270.0080.04712.72
5.3.260.0070.03812.72
5.3.250.0050.03712.72
5.3.240.0060.04212.72
5.3.230.0090.04512.71
5.3.220.0030.04012.68
5.3.210.0070.04512.68
5.3.200.0070.03912.68
5.3.190.0070.03612.68
5.3.180.0040.03812.68
5.3.170.0050.04012.67
5.3.160.0060.03612.67
5.3.150.0060.04612.68
5.3.140.0070.03812.66
5.3.130.0040.04212.66
5.3.120.0050.04112.66
5.3.110.0090.03712.66
5.3.100.0080.03412.13
5.3.90.0080.03512.10
5.3.80.0060.04512.09
5.3.70.0060.03612.09
5.3.60.0060.03612.08
5.3.50.0060.03512.03
5.3.40.0050.03612.03
5.3.30.0060.03511.99
5.3.20.0080.03211.76
5.3.10.0060.03411.73
5.3.00.0050.03711.72
5.2.170.0080.0299.22
5.2.160.0050.0299.23
5.2.150.0100.0369.23
5.2.140.0050.0309.22
5.2.130.0080.0269.18
5.2.120.0060.0279.18
5.2.110.0040.0299.19
5.2.100.0040.0409.18
5.2.90.0040.0409.17
5.2.80.0020.0329.17
5.2.70.0060.0359.17
5.2.60.0060.0309.13
5.2.50.0060.0339.10
5.2.40.0030.0399.07
5.2.30.0060.0309.06
5.2.20.0030.0299.04
5.2.10.0060.0288.95
5.2.00.0040.0298.80
5.1.60.0060.0298.09
5.1.50.0060.0358.08
5.1.40.0020.0328.07
5.1.30.0050.0378.42
5.1.20.0050.0338.44
5.1.10.0040.0308.16
5.1.00.0070.0328.16
5.0.50.0030.0216.64
5.0.40.0060.0216.50
5.0.30.0040.0306.32
5.0.20.0050.0326.28
5.0.10.0050.0246.26
5.0.00.0050.0386.25
4.4.90.0050.0204.78
4.4.80.0040.0294.75
4.4.70.0050.0204.75
4.4.60.0000.0184.76
4.4.50.0020.0174.77
4.4.40.0020.0254.71
4.4.30.0020.0164.76
4.4.20.0010.0174.85
4.4.10.0030.0154.85
4.4.00.0040.0234.76
4.3.110.0010.0174.67
4.3.100.0030.0144.66
4.3.90.0020.0154.63
4.3.80.0020.0254.58
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0030.0154.63
4.3.40.0050.0214.54
4.3.30.0030.0153.30
4.3.20.0030.0153.28
4.3.10.0020.0153.24
4.3.00.0100.0176.92

preferences:
49.34 ms | 401 KiB | 5 Q