3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { public function test($foo = true, $bar = false); } class bar implements foo { public function test($baz, $faz) { echo 'test'; } } $a = new bar(); $a->test('lol');

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.40.0150.00318.66
8.3.30.0070.00719.11
8.3.20.0050.00320.16
8.3.10.0000.00820.27
8.3.00.0030.00517.59
8.2.170.0100.00322.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0050.00222.06
8.2.110.0040.00421.12
8.2.100.0090.00317.78
8.2.90.0090.00019.00
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0000.00717.93
8.2.50.0000.00818.07
8.2.40.0060.00318.03
8.2.30.0020.00519.27
8.2.20.0050.00317.62
8.2.10.0040.00418.00
8.2.00.0080.00017.52
8.1.270.0060.00323.84
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0100.01022.14
8.1.230.0060.00619.09
8.1.220.0060.00317.74
8.1.210.0070.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0080.00018.70
8.1.160.0040.00422.01
8.1.150.0040.00418.86
8.1.140.0090.00017.36
8.1.130.0080.00017.73
8.1.120.0030.00317.46
8.1.110.0040.00417.25
8.1.100.0050.00317.38
8.1.90.0000.00717.43
8.1.80.0000.00717.41
8.1.70.0030.00517.39
8.1.60.0000.00817.36
8.1.50.0090.00017.46
8.1.40.0000.00717.50
8.1.30.0040.00417.43
8.1.20.0040.00417.44
8.1.10.0040.00417.26
8.1.00.0000.00817.37
8.0.300.0040.00419.78
8.0.290.0040.00416.62
8.0.280.0000.00718.38
8.0.270.0000.00717.13
8.0.260.0030.00317.15
8.0.250.0030.00317.03
8.0.240.0040.00416.86
8.0.230.0030.00317.01
8.0.220.0040.00416.86
8.0.210.0030.00316.80
8.0.200.0000.00816.95
8.0.190.0040.00316.90
8.0.180.0000.00716.74
8.0.170.0030.00516.98
8.0.160.0000.00716.96
8.0.150.0030.00316.73
8.0.140.0040.00416.89
8.0.130.0030.00313.31
8.0.120.0000.00816.82
8.0.110.0070.00016.92
8.0.100.0040.00416.91
8.0.90.0030.00516.93
8.0.80.0130.01016.89
8.0.70.0040.00416.77
8.0.60.0000.00916.68
8.0.50.0000.00716.75
8.0.30.0160.00417.04
8.0.20.0090.01417.40
8.0.10.0040.00416.88
8.0.00.0070.01116.58
7.4.330.0050.00015.00
7.4.320.0000.00716.34
7.4.300.0000.00616.57
7.4.290.0080.00316.57
7.4.280.0000.00816.54
7.4.270.0030.00316.38
7.4.260.0000.00716.41
7.4.250.0040.00416.33
7.4.240.0050.00216.46
7.4.230.0030.00316.61
7.4.220.0120.00616.31
7.4.210.0110.00316.62
7.4.200.0030.00316.47
7.4.160.0170.01316.41
7.4.150.0090.00917.40
7.4.140.0090.01017.86
7.4.130.0080.00816.54
7.4.120.0090.01016.46
7.4.110.0070.01016.52
7.4.100.0110.00516.22
7.4.90.0040.01416.48
7.4.80.0100.00618.80
7.4.70.0130.00316.43
7.4.60.0100.00616.43
7.4.50.0080.00016.11
7.4.40.0130.00416.67
7.4.30.0060.01016.15
7.4.10.0060.00614.69
7.4.00.0060.01114.93
7.3.330.0040.00413.25
7.3.320.0020.00213.16
7.3.310.0070.00016.08
7.3.300.0030.00316.22
7.3.290.0030.01116.23
7.3.280.0100.00716.24
7.3.270.0130.01017.40
7.3.260.0120.01116.49
7.3.250.0150.00616.33
7.3.240.0090.01316.45
7.3.230.0100.01016.46
7.3.210.0100.00616.32
7.3.200.0140.00919.39
7.3.190.0070.01016.27
7.3.180.0070.00716.29
7.3.170.0090.01216.27
7.3.160.0160.00016.40
7.3.130.0090.00914.79
7.3.120.0100.00714.63
7.3.110.0100.00614.91
7.3.100.0060.00614.86
7.3.90.0030.01014.80
7.3.80.0060.00614.89
7.3.70.0030.00814.80
7.3.60.0080.00814.82
7.3.50.0110.00414.92
7.3.40.0060.00614.82
7.3.30.0070.00714.55
7.3.20.0030.01416.37
7.3.10.0090.00016.52
7.3.00.0030.00616.60
7.2.330.0030.01516.43
7.2.320.0070.01016.52
7.2.310.0000.01616.32
7.2.300.0030.01316.59
7.2.290.0130.01716.51
7.2.260.0090.00914.65
7.2.250.0110.00714.56
7.2.240.0060.00914.74
7.2.230.0060.00915.07
7.2.220.0030.01014.83
7.2.210.0000.01614.87
7.2.200.0000.00914.82
7.2.190.0030.01315.03
7.2.180.0030.01014.72
7.2.170.0060.00614.98
7.2.160.0040.00715.07
7.2.150.0080.00816.84
7.2.140.0070.01016.65
7.2.130.0080.00316.91
7.2.120.0030.00916.54
7.2.110.0060.00916.91
7.2.100.0110.00416.88
7.2.90.0030.01316.94
7.2.80.0120.00316.93
7.2.70.0070.00716.71
7.2.60.0030.01216.70
7.2.50.0080.00416.89
7.2.40.0060.00917.01
7.2.30.0000.01516.45
7.2.20.0000.01316.71
7.2.10.0030.00916.73
7.2.00.0100.00318.03
7.1.330.0070.00715.50
7.1.320.0040.00415.70
7.1.310.0100.00715.55
7.1.300.0070.00715.55
7.1.290.0030.00915.41
7.1.280.0040.00715.67
7.1.270.0070.00715.83
7.1.260.0000.00915.85
7.1.250.0000.01615.70
7.1.240.0030.00915.72
7.1.230.0140.00015.82
7.1.220.0030.00615.72
7.1.210.0080.00815.54
7.1.200.0030.00715.67
7.1.190.0070.01015.74
7.1.180.0070.01015.55
7.1.170.0030.01315.74
7.1.160.0070.00315.61
7.1.150.0090.00015.34
7.1.140.0060.00915.43
7.1.130.0030.01015.64
7.1.120.0030.00915.78
7.1.110.0090.00615.66
7.1.100.0020.00716.98
7.1.90.0000.01115.87
7.1.80.0000.00815.71
7.1.70.0020.00716.30
7.1.60.0070.01217.48
7.1.50.0080.00916.24
7.1.40.0030.00815.32
7.1.30.0030.01015.50
7.1.20.0090.00015.64
7.1.10.0090.00615.73
7.1.00.0020.04318.96
7.0.330.0080.00415.23
7.0.320.0030.00615.22
7.0.310.0040.00415.00
7.0.300.0000.01215.27
7.0.290.0080.00614.97
7.0.280.0060.00315.34
7.0.270.0040.00415.34
7.0.260.0000.01515.21
7.0.250.0030.00615.25
7.0.240.0040.00815.29
7.0.230.0130.00015.23
7.0.220.0080.00315.26
7.0.210.0080.00815.10
7.0.200.0070.00315.79
7.0.190.0030.00515.35
7.0.180.0000.01215.21
7.0.170.0030.01015.25
7.0.160.0060.00615.27
7.0.150.0040.01515.04
7.0.140.0090.04018.66
7.0.130.0100.00315.41
7.0.120.0090.00915.38
7.0.110.0000.01715.43
7.0.100.0090.00915.46
7.0.90.0120.00615.13
7.0.80.0030.00615.11
7.0.70.0110.00415.46
7.0.60.0130.04217.65
7.0.50.0020.04216.59
7.0.40.0010.03616.72
7.0.30.0100.03016.71
7.0.20.0170.03016.66
7.0.10.0110.04116.81
7.0.00.0100.02016.68
5.6.400.0030.01013.66
5.6.390.0060.01014.33
5.6.380.0060.00614.30
5.6.370.0070.00414.42
5.6.360.0030.00613.67
5.6.350.0080.00614.38
5.6.340.0120.00314.05
5.6.330.0080.00314.25
5.6.320.0030.01014.03
5.6.310.0030.01214.37
5.6.300.0100.00314.40
5.6.290.0040.01114.48
5.6.280.0050.04017.44
5.6.270.0090.00614.23
5.6.260.0070.01014.14
5.6.250.0030.01214.16
5.6.240.0040.00814.25
5.6.230.0040.00713.89
5.6.220.0060.00914.42
5.6.210.0080.03817.50
5.6.200.0110.02516.13
5.6.190.0080.02517.27
5.6.180.0200.03017.24
5.6.170.0150.01917.38
5.6.160.0070.03217.37
5.6.150.0050.04716.18
5.6.140.0080.03816.25
5.6.130.0030.03116.13
5.6.120.0020.02717.65
5.6.110.0020.02817.73
5.6.100.0140.03517.57
5.6.90.0080.04717.72
5.6.80.0040.04017.31
5.6.70.0000.01114.19
5.6.60.0030.01014.05
5.6.50.0090.00314.31
5.6.40.0030.00713.94
5.6.30.0070.00714.00
5.6.20.0040.01214.04
5.6.10.0130.00314.06
5.6.00.0040.00813.99
5.5.380.0090.00414.05
5.5.370.0040.00814.05
5.5.360.0140.00413.96
5.5.350.0080.03417.21
5.5.340.0040.02415.92
5.5.330.0050.02517.23
5.5.320.0200.03217.19
5.5.310.0170.02717.21
5.5.300.0080.03715.95
5.5.290.0070.01915.86
5.5.280.0080.03217.58
5.5.270.0090.02717.27
5.5.260.0050.04317.39
5.5.250.0020.04817.31
5.5.240.0080.04417.10
5.5.230.0030.01113.84
5.5.220.0000.01413.98
5.5.210.0130.00314.16
5.5.200.0070.00414.10
5.5.190.0030.01014.09
5.5.180.0030.01014.00
5.5.170.0030.00914.03
5.5.160.0090.00614.14
5.5.150.0060.00613.83
5.5.140.0030.00614.10
5.5.130.0000.01314.18
5.5.120.0030.01114.12
5.5.110.0030.01114.16
5.5.100.0040.01213.91
5.5.90.0030.00913.61
5.5.80.0060.00613.79
5.5.70.0090.00314.01
5.5.60.0030.01013.79
5.5.50.0030.01014.16
5.5.40.0090.00014.18
5.5.30.0070.00713.97
5.5.20.0070.00713.98
5.5.10.0060.00313.77
5.5.00.0030.01213.89
5.4.450.0350.02515.95
5.4.440.0550.04015.89
5.4.430.0100.03016.00
5.4.420.0350.00416.13
5.4.410.0380.00015.97
5.4.400.0360.00315.94
5.4.390.0340.00315.92
5.4.380.0200.02615.63
5.4.370.0140.03415.69
5.4.360.0290.03015.66
5.4.350.0270.03115.73
5.4.340.0200.03415.71
5.4.330.0080.00312.63
5.4.320.0050.01912.56
5.4.310.0030.02512.56
5.4.300.0050.02312.56
5.4.290.0050.02212.56
5.4.280.0030.02412.51
5.4.270.0030.02112.51
5.4.260.0020.03012.51
5.4.250.0050.02512.51
5.4.240.0040.02312.51
5.4.230.0030.02412.50
5.4.220.0050.02112.51
5.4.210.0050.02212.51
5.4.200.0050.02112.50
5.4.190.0040.02712.50
5.4.180.0040.02512.51
5.4.170.0070.02112.51
5.4.160.0070.01812.51
5.4.150.0070.01912.51
5.4.140.0080.01812.35
5.4.130.0050.02012.34
5.4.120.0050.02012.32
5.4.110.0050.01912.32
5.4.100.0070.01812.32
5.4.90.0050.02012.32
5.4.80.0060.02012.32
5.4.70.0020.02312.31
5.4.60.0050.02512.32
5.4.50.0040.02312.32
5.4.40.0070.01812.31
5.4.30.0040.02012.31
5.4.20.0050.01912.31
5.4.10.0060.01812.31
5.4.00.0070.01812.05
5.3.290.0070.04012.80
5.3.280.0070.03712.71
5.3.270.0050.03912.73
5.3.260.0050.03812.72
5.3.250.0050.03712.72
5.3.240.0050.03712.71
5.3.230.0070.03612.71
5.3.220.0070.03512.68
5.3.210.0070.04312.68
5.3.200.0040.03612.68
5.3.190.0050.03612.68
5.3.180.0050.03712.68
5.3.170.0050.03612.67
5.3.160.0050.03612.68
5.3.150.0050.03712.67
5.3.140.0060.03512.66
5.3.130.0070.03612.66
5.3.120.0040.03912.66
5.3.110.0030.04712.66
5.3.100.0060.03512.13
5.3.90.0050.03612.11
5.3.80.0060.03512.10
5.3.70.0070.03412.10
5.3.60.0060.03612.09
5.3.50.0100.03712.04
5.3.40.0060.04112.03
5.3.30.0070.04211.99
5.3.20.0070.03511.78
5.3.10.0060.03511.73
5.3.00.0040.03711.73
5.2.170.0020.0329.23
5.2.160.0060.0289.23
5.2.150.0050.0299.23
5.2.140.0050.0299.22
5.2.130.0010.0319.19
5.2.120.0050.0279.18
5.2.110.0030.0299.20
5.2.100.0030.0299.18
5.2.90.0070.0259.18
5.2.80.0070.0279.18
5.2.70.0070.0309.18
5.2.60.0060.0289.14
5.2.50.0040.0309.11
5.2.40.0050.0289.07
5.2.30.0060.0279.05
5.2.20.0040.0289.04
5.2.10.0060.0258.95
5.2.00.0040.0298.81
5.1.60.0040.0238.10
5.1.50.0040.0248.09
5.1.40.0040.0238.07
5.1.30.0030.0268.42
5.1.20.0020.0288.44
5.1.10.0060.0238.17
5.1.00.0050.0248.17
5.0.50.0020.0216.65
5.0.40.0020.0196.50
5.0.30.0030.0306.32
5.0.20.0040.0186.29
5.0.10.0060.0176.27
5.0.00.0020.0316.26
4.4.90.0030.0154.78
4.4.80.0040.0144.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0040.0144.77
4.4.40.0050.0234.71
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0040.0144.85
4.4.00.0040.0234.76
4.3.110.0020.0164.67
4.3.100.0010.0164.66
4.3.90.0020.0154.63
4.3.80.0030.0234.58
4.3.70.0030.0144.63
4.3.60.0030.0134.63
4.3.50.0030.0154.63
4.3.40.0020.0254.54
4.3.30.0020.0163.29
4.3.20.0030.0163.26
4.3.10.0030.0153.22
4.3.00.0100.01316.39

preferences:
43.86 ms | 400 KiB | 5 Q