3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public function get() { return 'heello'; } } $o = new MyClass(); $o->get();

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.4.20.0080.00017.39
8.4.10.0090.00017.62
8.3.150.0090.00917.38
8.3.140.0040.01120.56
8.3.130.0040.00418.41
8.3.120.0000.01520.60
8.3.110.0080.00020.94
8.3.100.0090.00016.35
8.3.90.0070.00726.77
8.3.80.0110.00017.97
8.3.70.0140.00318.56
8.3.60.0090.00618.31
8.3.50.0120.00822.15
8.3.40.0070.01018.46
8.3.30.0080.00518.91
8.3.20.0050.00320.34
8.3.10.0070.00023.70
8.3.00.0050.00319.02
8.2.260.0100.00716.77
8.2.250.0170.00318.51
8.2.240.0050.00516.96
8.2.230.0060.00322.58
8.2.220.0060.00324.06
8.2.210.0180.00026.77
8.2.200.0090.00016.75
8.2.190.0150.00016.58
8.2.180.0070.01018.28
8.2.170.0090.01218.78
8.2.160.0030.01422.96
8.2.150.0100.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0100.00020.41
8.2.110.0050.00522.14
8.2.100.0110.00018.22
8.2.90.0080.00019.08
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0040.00717.93
8.2.50.0030.00618.07
8.2.40.0000.00919.82
8.2.30.0050.00218.07
8.2.20.0040.00417.56
8.2.10.0040.00418.05
8.2.00.0000.00718.05
8.1.310.0040.01116.07
8.1.300.0070.00020.14
8.1.290.0060.00330.84
8.1.280.0170.00325.92
8.1.270.0040.00420.35
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.96
8.1.230.0000.01119.11
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0050.00517.10
8.1.190.0040.00417.00
8.1.180.0000.00818.10
8.1.170.0030.00518.46
8.1.160.0030.00321.95
8.1.150.0030.00318.80
8.1.140.0040.00417.30
8.1.130.0030.00317.77
8.1.120.0030.00517.45
8.1.110.0060.00317.29
8.1.100.0050.00317.24
8.1.90.0000.00717.43
8.1.80.0000.00717.40
8.1.70.0000.00717.34
8.1.60.0000.00917.52
8.1.50.0050.00217.56
8.1.40.0060.00317.46
8.1.30.0050.00317.65
8.1.20.0000.00717.71
8.1.10.0040.00417.47
8.1.00.0020.00517.35
8.0.300.0070.00018.77
8.0.290.0000.00916.63
8.0.280.0070.00018.38
8.0.270.0030.00317.16
8.0.260.0040.00417.05
8.0.250.0030.00316.82
8.0.240.0000.00816.89
8.0.230.0030.00316.91
8.0.220.0030.00316.73
8.0.210.0030.00316.70
8.0.200.0030.00316.75
8.0.190.0070.00016.79
8.0.180.0070.00016.86
8.0.170.0070.00016.75
8.0.160.0070.00016.84
8.0.150.0030.00316.62
8.0.140.0050.00216.83
8.0.130.0000.00513.21
8.0.120.0060.00316.71
8.0.110.0000.00816.64
8.0.100.0040.00416.64
8.0.90.0000.00816.64
8.0.80.0030.01216.81
8.0.70.0040.00416.73
8.0.60.0040.00416.72
8.0.50.0000.00716.81
8.0.30.0080.01017.06
8.0.20.0110.01017.40
8.0.10.0030.00516.88
8.0.00.0050.01316.60
7.4.330.0050.00215.03
7.4.320.0030.00316.43
7.4.300.0030.00316.50
7.4.290.0030.00316.49
7.4.280.0000.00816.50
7.4.270.0000.00716.61
7.4.260.0000.00716.60
7.4.250.0000.00816.54
7.4.240.0020.00616.48
7.4.230.0000.00716.47
7.4.220.0210.00416.51
7.4.210.0050.01316.60
7.4.200.0050.00216.60
7.4.160.0110.01116.34
7.4.150.0140.00417.40
7.4.140.0110.01117.86
7.4.130.0140.00916.44
7.4.120.0120.00516.62
7.4.110.0070.01016.56
7.4.100.0050.02016.52
7.4.90.0120.00616.40
7.4.80.0140.00919.39
7.4.70.0060.01516.51
7.4.60.0160.00616.41
7.4.50.0000.00416.43
7.4.40.0080.00816.39
7.4.30.0030.01316.51
7.4.00.0070.01015.20
7.3.330.0050.00013.23
7.3.320.0030.00313.23
7.3.310.0070.00016.10
7.3.300.0000.00716.24
7.3.290.0030.00316.19
7.3.280.0160.00416.17
7.3.270.0080.00817.40
7.3.260.0110.01116.39
7.3.250.0050.01216.23
7.3.240.0090.01216.20
7.3.230.0190.00316.39
7.3.210.0160.00616.32
7.3.200.0060.01016.54
7.3.190.0090.00916.37
7.3.180.0120.00616.23
7.3.170.0060.00916.27
7.3.160.0110.00616.22
7.2.330.0070.01016.64
7.2.320.0040.01716.29
7.2.310.0030.01316.30
7.2.300.0070.01116.63
7.2.290.0160.00716.39
7.2.60.0030.01316.71
7.2.00.0030.00619.51
7.1.200.0060.00315.46
7.1.100.0060.00318.04
7.1.70.0000.00817.00
7.1.60.0170.00719.38
7.1.50.0030.00916.62
7.1.00.0100.07022.30
7.0.200.0030.00316.58
7.0.60.0100.08320.01
7.0.50.0130.07317.80
7.0.40.0000.05020.20
7.0.30.0300.07020.25
7.0.20.0270.06320.16
7.0.10.0030.04720.25
7.0.00.0130.05320.23
5.6.280.0030.07320.78
5.6.210.0130.07320.70
5.6.200.0100.03318.25
5.6.190.0070.04720.34
5.6.180.0130.04320.47
5.6.170.0400.07320.55
5.6.160.0070.08320.59
5.6.150.0130.07318.16
5.6.140.0100.06018.23
5.6.130.0030.08018.16
5.6.120.0170.06721.06
5.6.110.0130.06721.12
5.6.100.0030.09021.00
5.6.90.0130.06020.99
5.6.80.0030.06320.37
5.5.350.0170.07320.44
5.5.340.0030.08018.09
5.5.330.0030.08720.34
5.5.320.2900.04020.27
5.5.310.0200.04020.34
5.5.300.0000.04017.97
5.5.290.0000.04717.92
5.5.280.0100.03720.77
5.5.270.0100.08020.63
5.5.260.0070.08720.79
5.5.250.0130.05320.66
5.5.240.0030.03320.16
5.4.450.0900.04719.46
5.4.440.0800.06319.29
5.4.430.0970.06319.43
5.4.420.0130.05319.32
5.4.410.0200.06319.44
5.4.400.0170.04719.23
5.4.390.0130.06019.12
5.4.380.0130.05019.07
5.4.370.0100.05318.98
5.4.360.0100.05719.12
5.4.350.0170.04719.07
5.4.340.0070.05319.03
5.4.320.0130.05019.12
5.4.310.0100.05719.13
5.4.300.0230.06019.04
5.4.290.0100.05019.05
5.4.280.0030.06019.11
5.4.270.0070.05719.08
5.4.260.0130.05019.25
5.4.250.0200.05719.09
5.4.240.0270.03719.12
5.4.230.0000.06019.20
5.4.220.0070.07319.25
5.4.210.0200.04319.25
5.4.200.0100.05716.86
5.4.190.0070.05719.23
5.4.180.0070.05719.09
5.4.170.0100.05319.05
5.4.160.0230.06319.00
5.4.150.0200.04319.08
5.4.140.0170.04316.48
5.4.130.0100.05016.48
5.4.120.0130.04316.32
5.4.110.0130.04316.48
5.4.100.0100.05016.47
5.4.90.0170.04316.62
5.4.80.0130.04716.46
5.4.70.0070.05716.55
5.4.60.0000.05716.55
5.4.50.0170.04016.41
5.4.40.0030.06316.22
5.4.30.0130.04316.54
5.4.20.0100.04716.62
5.4.10.0230.04016.54
5.4.00.0030.05315.89
5.3.290.0100.05314.57
5.3.280.0100.06314.44
5.3.270.0100.05314.63
5.3.260.0030.05714.74
5.3.250.0070.05314.76
5.3.240.0100.05014.51
5.3.230.0170.04314.70
5.3.220.0070.05314.64
5.3.210.0130.05014.52
5.3.200.0130.04714.57
5.3.190.0070.05714.72
5.3.180.0200.03714.46
5.3.170.0130.04714.63
5.3.160.0170.04314.73
5.3.150.0070.05314.62
5.3.140.0070.05314.70
5.3.130.0170.05014.54
5.3.120.0200.05014.55
5.3.110.0030.06014.45
5.3.100.0000.05713.94
5.3.90.0070.05714.02
5.3.80.0130.05314.01
5.3.70.0030.05713.98
5.3.60.0070.05313.93
5.3.50.0200.04014.05
5.3.40.0100.05714.00
5.3.30.0130.04313.97
5.3.20.0030.05313.61
5.3.10.0070.04713.83
5.3.00.0100.06013.55
5.2.170.0130.04711.07
5.2.160.0070.04011.09
5.2.150.0070.04311.00
5.2.140.0030.04711.30
5.2.130.0070.04311.03
5.2.120.0070.04011.11
5.2.110.0070.04010.95
5.2.100.0030.04311.01
5.2.90.0030.04311.16
5.2.80.0070.04711.16
5.2.70.0100.04011.02
5.2.60.0070.04011.16
5.2.50.0000.04711.02
5.2.40.0030.04011.06
5.2.30.0130.03710.91
5.2.20.0000.04310.94
5.2.10.0070.04010.91
5.2.00.0100.03710.71
5.1.60.0130.02710.14
5.1.50.0070.03310.14
5.1.40.0100.0309.88
5.1.30.0070.03710.36
5.1.20.0130.04010.30
5.1.10.0030.04310.15
5.1.00.0200.02310.12
5.0.50.0070.0308.46
5.0.40.0070.0378.56
5.0.30.0070.0508.13
5.0.20.0030.0278.09
5.0.10.0100.0338.21
5.0.00.0030.0438.01
4.4.90.0030.0305.78
4.4.80.0100.0135.85
4.4.70.0030.0235.81
4.4.60.0070.0275.73
4.4.50.0130.0175.75
4.4.40.0000.0375.89
4.4.30.0000.0235.75
4.4.20.0030.0235.80
4.4.10.0030.0205.98
4.4.00.0000.0435.87
4.3.110.0070.0205.78
4.3.100.0100.0135.70
4.3.90.0030.0205.67
4.3.80.0070.0305.82
4.3.70.0070.0175.67
4.3.60.0170.0135.64
4.3.50.0100.0175.75
4.3.40.0030.0305.74
4.3.30.0000.0234.45
4.3.20.0000.0234.54
4.3.10.0000.0234.45
4.3.00.0030.01315.71

preferences:
86.34 ms | 403 KiB | 5 Q