3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test1($one, $two) { test2($one, $two); } function test2($one, $two) { throw new Exception(); } test1('', 1);

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.0170.00018.56
8.3.50.0120.00321.99
8.3.40.0070.00718.59
8.3.30.0040.01119.14
8.3.20.0050.00320.21
8.3.10.0040.00423.48
8.3.00.0030.00519.79
8.2.180.0070.01116.32
8.2.170.0140.00722.96
8.2.160.0060.00920.47
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.01026.16
8.2.120.0060.00321.09
8.2.110.0050.00522.10
8.2.100.0070.00418.03
8.2.90.0040.00418.97
8.2.80.0030.00617.97
8.2.70.0040.00417.38
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0000.00817.97
8.2.30.0030.00618.10
8.2.20.0080.00017.63
8.2.10.0000.00718.10
8.2.00.0000.00817.76
8.1.280.0100.01025.92
8.1.270.0060.00324.01
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0000.01022.05
8.1.230.0110.00019.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0080.00017.22
8.1.180.0000.00918.10
8.1.170.0030.00618.46
8.1.160.0000.00722.05
8.1.150.0040.00418.76
8.1.140.0000.00717.34
8.1.130.0000.00717.73
8.1.120.0000.00717.39
8.1.110.0040.00417.28
8.1.100.0070.00017.39
8.1.90.0030.00417.35
8.1.80.0040.00417.41
8.1.70.0000.00817.26
8.1.60.0050.00317.41
8.1.50.0080.00017.46
8.1.40.0040.00417.47
8.1.30.0000.00817.53
8.1.20.0050.00317.57
8.1.10.0000.00717.52
8.1.00.0030.00617.36
8.0.300.0000.00818.77
8.0.290.0070.00016.63
8.0.280.0000.00718.28
8.0.270.0000.00717.19
8.0.260.0030.00317.12
8.0.250.0030.00316.93
8.0.240.0030.00317.00
8.0.230.0030.00316.95
8.0.220.0000.00616.93
8.0.210.0030.00316.79
8.0.200.0000.00816.91
8.0.190.0040.00416.96
8.0.180.0070.00016.89
8.0.170.0040.00416.80
8.0.160.0050.00316.82
8.0.150.0070.00016.78
8.0.140.0000.00716.90
8.0.130.0050.00013.39
8.0.120.0000.00816.93
8.0.110.0000.00716.91
8.0.100.0040.00316.95
8.0.90.0080.00016.75
8.0.80.0110.00716.93
8.0.70.0040.00416.93
8.0.60.0030.00316.96
8.0.50.0020.00516.72
8.0.30.0140.00717.13
8.0.20.0100.01117.40
8.0.10.0040.00417.05
8.0.00.0080.01116.83
7.4.330.0030.00315.00
7.4.320.0060.00016.43
7.4.300.0070.00016.51
7.4.290.0030.00316.38
7.4.280.0030.00716.37
7.4.270.0040.00416.41
7.4.260.0030.00316.37
7.4.250.0030.00316.31
7.4.240.0020.00516.45
7.4.230.0040.00416.31
7.4.220.0150.00316.37
7.4.210.0040.01116.41
7.4.200.0000.00716.55
7.4.160.0130.00316.55
7.4.150.0190.00317.40
7.4.140.0110.00917.86
7.4.130.0090.00816.58
7.4.120.0090.00716.58
7.4.110.0070.01616.48
7.4.100.0100.00716.43
7.4.90.0110.00716.54
7.4.80.0090.00919.39
7.4.70.0150.00016.36
7.4.60.0060.01016.41
7.4.50.0030.00316.16
7.4.40.0100.00716.41
7.4.30.0080.00816.52
7.4.00.0030.01214.85
7.3.330.0020.00213.28
7.3.320.0030.00313.32
7.3.310.0000.00716.32
7.3.300.0070.00016.17
7.3.290.0070.00716.34
7.3.280.0070.01116.30
7.3.270.0040.01417.40
7.3.260.0200.00716.50
7.3.250.0100.00916.43
7.3.240.0110.00716.30
7.3.230.0120.00916.39
7.3.210.0130.00316.27
7.3.200.0100.00719.39
7.3.190.0160.00616.43
7.3.180.0030.01316.37
7.3.170.0130.00416.29
7.3.160.0040.01116.54
7.3.120.0060.00914.70
7.2.330.0070.01016.60
7.2.320.0090.00916.79
7.2.310.0130.00316.28
7.2.300.0160.00616.70
7.2.290.0090.00916.51
7.2.60.0130.00016.95
7.2.50.0160.00316.73
7.1.200.0000.01315.79
7.1.70.0030.01017.19
7.1.60.0150.01119.70
7.1.50.0200.01734.78
7.1.00.0030.07722.31
7.0.200.0030.01016.98
7.0.140.0100.06722.08
7.0.60.0070.03719.91
7.0.50.0100.07717.89
7.0.40.0030.08720.02
7.0.30.0430.04320.21
7.0.20.0470.05720.19
7.0.10.0170.04320.09
7.0.00.0030.07720.23
5.6.280.0030.07320.93
5.6.210.0030.08020.48
5.6.200.0100.07018.18
5.6.190.0170.04720.64
5.6.180.0330.06720.62
5.6.170.0400.08320.47
5.6.160.0130.07720.54
5.6.150.0170.07018.15
5.6.140.0070.07718.15
5.6.130.0030.07718.14
5.6.120.0100.07021.05
5.6.110.0200.04321.05
5.6.100.0130.05721.02
5.6.90.0130.07720.96
5.6.80.0100.07320.51
5.6.70.0300.06720.37
5.5.350.0170.08320.38
5.5.340.0170.04718.07
5.5.330.0070.09720.19
5.5.320.0000.07320.36
5.5.310.0130.05320.30
5.5.300.0100.03317.96
5.5.290.0030.08317.99
5.5.280.0070.07720.77
5.5.270.0130.07720.81
5.5.260.0070.08320.77
5.5.250.0100.08020.49
5.5.240.0000.07020.04
5.4.450.0870.05319.17
5.4.440.0800.07319.55
5.4.430.0200.04719.54
5.4.420.0630.00019.50
5.4.410.0130.07718.92
5.4.400.0230.06018.81
5.4.390.0270.08018.79
5.4.380.0270.04318.80
5.4.370.0170.04018.77
5.4.360.0200.04018.63
5.4.350.0050.03912.02
5.4.340.0050.03812.02
5.4.320.0040.03712.50
5.4.310.0050.04512.50
5.4.300.0040.03812.51
5.4.290.0050.03912.50
5.4.280.0080.03512.40
5.4.270.0080.03712.39
5.4.260.0060.03712.40
5.4.250.0050.03912.39
5.4.240.0120.03012.39
5.4.230.0070.03712.39
5.4.220.0030.03812.39
5.4.210.0080.03612.39
5.4.200.0060.03712.39
5.4.190.0090.03212.39
5.4.180.0040.03712.39
5.4.170.0060.03612.39
5.4.160.0050.04212.39
5.4.150.0070.03512.39
5.4.140.0060.03812.07
5.4.130.0070.03412.06
5.4.120.0090.03212.02
5.4.110.0050.03612.02
5.4.100.0070.03512.01
5.4.90.0050.03912.01
5.4.80.0030.03912.01
5.4.70.0070.03412.01
5.4.60.0090.03212.01
5.4.50.0050.03612.01
5.4.40.0050.03512.00
5.4.30.0060.03512.00
5.4.20.0100.03211.99
5.4.10.0040.03811.99
5.4.00.0020.04711.49
5.3.290.0090.04412.80
5.3.280.0040.04012.71
5.3.270.0040.04912.72
5.3.260.0100.05412.72
5.3.250.0120.04012.72
5.3.240.0060.03912.72
5.3.230.0070.04912.71
5.3.220.0060.04412.68
5.3.210.0080.03712.68
5.3.200.0080.03412.68
5.3.190.0110.04312.68
5.3.180.0110.06012.67
5.3.170.0070.03812.67
5.3.160.0070.03912.67
5.3.150.0060.04012.67
5.3.140.0060.04512.66
5.3.130.0050.03912.66
5.3.120.0050.04812.66
5.3.110.0080.04412.66
5.3.100.0040.04012.13
5.3.90.0030.03912.11
5.3.80.0070.03612.10
5.3.70.0070.03612.11
5.3.60.0070.03712.09
5.3.50.0060.03612.05
5.3.40.0060.03712.04
5.3.30.0080.03311.99
5.3.20.0050.03611.78
5.3.10.0070.03411.74
5.3.00.0070.03911.73
5.2.170.0050.0309.23
5.2.160.0050.0289.23
5.2.150.0060.0309.23
5.2.140.0070.0299.23
5.2.130.0070.0279.19
5.2.120.0040.0319.19
5.2.110.0050.0309.19
5.2.100.0010.0379.19
5.2.90.0070.0329.19
5.2.80.0090.0269.19
5.2.70.0070.0299.18
5.2.60.0020.0339.14
5.2.50.0060.0289.11
5.2.40.0080.0259.09
5.2.30.0020.0329.06
5.2.20.0050.0289.05
5.2.10.0040.0338.95
5.2.00.0060.0298.81
5.1.60.0020.0268.11
5.1.50.0040.0258.10
5.1.40.0040.0248.08
5.1.30.0040.0268.43
5.1.20.0020.0298.45
5.1.10.0040.0268.18
5.1.00.0050.0248.18
5.0.50.0040.0216.65
5.0.40.0020.0216.52
5.0.30.0030.0356.33
5.0.20.0040.0196.29
5.0.10.0030.0216.27
5.0.00.0050.0296.27
4.4.90.0010.0174.78
4.4.80.0030.0144.75
4.4.70.0030.0154.75
4.4.60.0040.0144.75
4.4.50.0040.0144.77
4.4.40.0030.0254.71
4.4.30.0080.0144.76
4.4.20.0030.0224.84
4.4.10.0040.0224.85
4.4.00.0030.0334.76
4.3.110.0050.0174.66
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0030.0234.59
4.3.70.0010.0164.63
4.3.60.0020.0154.62
4.3.50.0030.0184.63
4.3.40.0020.0244.54
4.3.30.0030.0153.30
4.3.20.0000.0183.28
4.3.10.0040.0143.25
4.3.00.0070.0176.95

preferences:
37.29 ms | 401 KiB | 5 Q