3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass{ function __costructor() { echo 'MyClass class has initialized'; } }

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.0150.00318.30
8.3.50.0150.00621.99
8.3.40.0100.00718.75
8.3.30.0120.00318.80
8.3.20.0040.00420.22
8.3.10.0070.00023.48
8.3.00.0080.00018.85
8.2.180.0170.00017.92
8.2.170.0170.00322.96
8.2.160.0100.00320.32
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00020.63
8.2.110.0060.00320.52
8.2.100.0100.00517.60
8.2.90.0030.00519.09
8.2.80.0080.00017.97
8.2.70.0070.00317.25
8.2.60.0000.01117.91
8.2.50.0080.00418.07
8.2.40.0000.00821.18
8.2.30.0040.00418.18
8.2.20.0040.00417.55
8.2.10.0030.00517.80
8.2.00.0040.00417.61
8.1.280.0040.01525.92
8.1.270.0080.00023.66
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00323.86
8.1.230.0080.00322.18
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0070.00317.23
8.1.190.0030.00517.13
8.1.180.0060.00318.10
8.1.170.0040.00418.55
8.1.160.0030.00321.86
8.1.150.0000.00818.58
8.1.140.0040.00417.36
8.1.130.0040.00419.18
8.1.120.0000.00717.34
8.1.110.0070.00017.22
8.1.100.0000.00717.33
8.1.90.0040.00417.22
8.1.80.0040.00417.31
8.1.70.0040.00417.27
8.1.60.0000.00917.34
8.1.50.0040.00417.33
8.1.40.0000.00717.39
8.1.30.0040.00417.40
8.1.20.0040.00417.45
8.1.10.0000.00717.33
8.1.00.0040.00417.16
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.31
8.0.270.0070.00017.16
8.0.260.0030.00316.60
8.0.250.0070.00016.70
8.0.240.0000.00716.70
8.0.230.0060.00316.80
8.0.220.0030.00316.78
8.0.210.0030.00316.63
8.0.200.0000.00716.80
8.0.190.0040.00416.69
8.0.180.0070.00016.79
8.0.170.0040.00416.79
8.0.160.0040.00416.83
8.0.150.0000.00816.68
8.0.140.0040.00416.73
8.0.130.0030.00313.23
8.0.120.0040.00416.69
8.0.110.0000.00716.79
8.0.100.0000.00716.80
8.0.90.0000.00716.82
8.0.80.0100.00416.80
8.0.70.0040.00416.71
8.0.60.0040.00416.59
8.0.50.0040.00416.65
8.0.30.0050.01616.92
8.0.20.0090.00917.40
8.0.10.0080.00016.98
8.0.00.0100.00816.75
7.4.330.0000.00515.02
7.4.320.0040.00416.27
7.4.300.0000.00716.47
7.4.290.0020.00516.32
7.4.280.0040.00416.23
7.4.270.0000.00816.46
7.4.260.0000.00716.44
7.4.250.0000.00716.35
7.4.240.0050.00216.38
7.4.230.0000.00716.31
7.4.220.0120.00616.31
7.4.210.0090.00616.34
7.4.200.0040.00416.49
7.4.190.0040.00316.46
7.4.160.0100.00516.41
7.4.150.0030.01317.40
7.4.140.0090.00817.86
7.4.130.0080.01016.48
7.4.120.0070.01016.42
7.4.110.0030.01416.50
7.4.100.0130.00316.42
7.4.90.0100.00716.20
7.4.80.0090.00819.39
7.4.70.0060.01016.27
7.4.60.0070.01116.29
7.4.50.0030.00715.95
7.4.40.0050.01116.32
7.4.30.0080.00816.35
7.4.00.0060.01214.84
7.3.330.0000.00613.20
7.3.320.0030.00213.13
7.3.310.0030.00315.98
7.3.300.0000.00716.08
7.3.290.0130.00716.22
7.3.280.0080.00716.16
7.3.270.0070.01017.40
7.3.260.0060.01216.38
7.3.250.0070.01116.37
7.3.240.0060.01516.42
7.3.230.0090.00616.39
7.3.210.0110.00616.08
7.3.200.0140.00619.39
7.3.190.0090.01216.46
7.3.180.0040.01116.22
7.3.170.0000.01416.27
7.3.160.0030.01416.04
7.3.120.0040.01114.85
7.2.330.0000.01916.56
7.2.320.0120.00416.57
7.2.310.0130.00316.45
7.2.300.0090.00616.52
7.2.290.0130.00716.12
7.2.80.0040.00816.20
7.2.00.0030.00919.37
7.1.200.0060.00615.73
7.1.100.0060.00818.13
7.1.70.0060.00616.96
7.1.60.0100.01319.70
7.1.50.0100.01734.48
7.1.00.0070.07322.29
7.0.200.0000.00916.73
7.0.140.0100.06722.00
7.0.60.0070.03719.91
7.0.50.0130.07717.94
7.0.40.0070.07320.24
7.0.30.0270.04720.30
7.0.20.0230.04320.22
7.0.10.0330.08020.07
7.0.00.0000.09020.23
5.6.280.0070.07021.12
5.6.210.0100.07720.44
5.6.200.0030.07318.16
5.6.190.0100.08320.61
5.6.180.0170.05720.61
5.6.170.0200.04720.56
5.6.160.0100.05020.46
5.6.150.0000.04318.21
5.6.140.0030.06018.16
5.6.130.0070.04718.11
5.6.120.0000.05320.90
5.6.110.0200.07021.09
5.6.100.0100.08321.01
5.6.90.0170.07021.11
5.6.80.0030.05320.36
5.6.70.4270.04020.52
5.5.350.0130.03720.39
5.5.340.0070.04317.97
5.5.330.0100.07720.35
5.5.320.0330.05720.31
5.5.310.0200.04020.26
5.5.300.0030.04317.97
5.5.290.0000.05317.95
5.5.280.0070.05720.95
5.5.270.0030.04720.87
5.5.260.0100.08320.79
5.5.250.0070.08020.69
5.5.240.0100.08320.28
5.4.450.0230.03719.54
5.4.440.5430.04019.45
5.4.430.0170.04719.36
5.4.420.0100.05719.54
5.4.410.0170.04719.37
5.4.400.0200.06019.07
5.4.390.0130.04718.98
5.4.380.0100.06318.63
5.4.370.0170.04718.79
5.4.360.0000.06018.52
5.4.350.0050.03712.02
5.4.340.0060.03512.02
5.4.320.0080.04212.50
5.4.310.0060.04012.49
5.4.300.0080.05112.50
5.4.290.0160.04612.49
5.4.280.0070.04412.39
5.4.270.0080.04112.39
5.4.260.0070.03912.39
5.4.250.0120.04412.40
5.4.240.0080.04212.39
5.4.230.0110.04212.39
5.4.220.0080.04112.39
5.4.210.0120.04212.39
5.4.200.0110.04712.38
5.4.190.0050.05112.38
5.4.180.0110.04412.38
5.4.170.0110.03412.39
5.4.160.0090.04512.39
5.4.150.0120.03612.39
5.4.140.0130.04212.07
5.4.130.0110.03612.06
5.4.120.0100.03812.01
5.4.110.0060.04412.01
5.4.100.0100.03412.02
5.4.90.0060.05212.01
5.4.80.0090.05312.01
5.4.70.0080.05112.01
5.4.60.0070.04512.01
5.4.50.0050.05412.01
5.4.40.0050.05412.00
5.4.30.0030.03911.99
5.4.20.0090.03512.00
5.4.10.0060.04511.99
5.4.00.0080.03611.48
5.3.290.0080.04612.80
5.3.280.0040.04012.71
5.3.270.0060.03912.72
5.3.260.0070.03812.72
5.3.250.0090.03412.72
5.3.240.0070.04012.72
5.3.230.0090.05112.71
5.3.220.0090.05312.68
5.3.210.0100.05212.68
5.3.200.0040.05712.68
5.3.190.0080.04812.68
5.3.180.0090.05012.68
5.3.170.0100.03912.67
5.3.160.0130.04312.67
5.3.150.0120.04512.67
5.3.140.0060.04512.66
5.3.130.0080.04212.66
5.3.120.0090.04212.66
5.3.110.0060.04612.66
5.3.100.0080.05312.11
5.3.90.0100.04412.10
5.3.80.0080.03912.09
5.3.70.0110.03812.09

preferences:
39.61 ms | 401 KiB | 5 Q