3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test1 { class test2 { function __construct() {echo __CLASS__;} } new test2; }

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.0110.00416.63
8.3.50.0090.00616.39
8.3.40.0100.00318.66
8.3.30.0070.00718.68
8.3.20.0080.00020.14
8.3.10.0080.00021.89
8.3.00.0050.00317.47
8.2.180.0120.00316.63
8.2.170.0110.00422.96
8.2.160.0110.00420.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00021.00
8.2.120.0000.00826.35
8.2.110.0000.01122.30
8.2.100.0040.00817.47
8.2.90.0070.00017.72
8.2.80.0000.00817.97
8.2.70.0100.00017.38
8.2.60.0060.00317.91
8.2.50.0040.00418.10
8.2.40.0070.00020.68
8.2.30.0000.00919.00
8.2.20.0000.00817.87
8.2.10.0060.00317.91
8.2.00.0000.00717.91
8.1.280.0130.00325.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0090.00022.18
8.1.230.0060.00620.98
8.1.220.0030.00517.74
8.1.210.0030.00818.91
8.1.200.0080.00017.23
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0040.00418.55
8.1.160.0050.00218.94
8.1.150.0030.00318.68
8.1.140.0040.00419.39
8.1.130.0050.00318.71
8.1.120.0000.00717.34
8.1.110.0000.01017.30
8.1.100.0000.00817.24
8.1.90.0120.00017.23
8.1.80.0040.00417.38
8.1.70.0070.00317.25
8.1.60.0030.00617.47
8.1.50.0060.00317.43
8.1.40.0060.00317.48
8.1.30.0000.00817.47
8.1.20.0040.00417.49
8.1.10.0040.00417.54
8.1.00.0000.00817.45
8.0.300.0000.00819.98
8.0.290.0040.00416.75
8.0.280.0000.00618.42
8.0.270.0040.00417.26
8.0.260.0000.00616.93
8.0.250.0030.00316.91
8.0.240.0090.00016.77
8.0.230.0060.00316.80
8.0.220.0070.00016.65
8.0.210.0030.00316.77
8.0.200.0000.00616.88
8.0.190.0050.00316.71
8.0.180.0030.00516.76
8.0.170.0000.00716.79
8.0.160.0070.00016.76
8.0.150.0070.00016.60
8.0.140.0040.00416.65
8.0.130.0000.00613.18
8.0.120.0080.00016.73
8.0.110.0040.00416.66
8.0.100.0050.00216.75
8.0.90.0040.00416.78
8.0.80.0170.00716.72
8.0.70.0040.00416.63
8.0.60.0040.00416.72
8.0.50.0040.00416.73
8.0.30.0090.01016.89
8.0.20.0120.00717.40
8.0.10.0050.00316.89
8.0.00.0120.00616.50
7.4.330.0030.00315.55
7.4.320.0000.00616.28
7.4.300.0000.00716.53
7.4.290.0060.00316.42
7.4.280.0040.00416.28
7.4.270.0080.00016.53
7.4.260.0060.00013.10
7.4.250.0000.00816.46
7.4.240.0070.00016.45
7.4.230.0070.00016.32
7.4.220.0090.00916.45
7.4.210.0100.01016.53
7.4.200.0000.00716.40
7.4.160.0090.00916.40
7.4.150.0190.00617.40
7.4.140.0110.00817.86
7.4.130.0180.00016.28
7.4.120.0120.00816.58
7.4.110.0090.00916.35
7.4.100.0110.00816.55
7.4.90.0100.00716.33
7.4.80.0090.01419.39
7.4.70.0090.00616.56
7.4.60.0130.00316.52
7.4.50.0040.01516.45
7.4.40.0070.01016.28
7.4.30.0100.00716.61
7.4.00.0110.00314.92
7.3.330.0030.00313.09
7.3.320.0000.00513.16
7.3.310.0000.00716.34
7.3.300.0050.00216.20
7.3.290.0040.01016.26
7.3.280.0070.00916.21
7.3.270.0110.01117.40
7.3.260.0070.01016.40
7.3.250.0080.01416.27
7.3.240.0060.01116.43
7.3.230.0120.00616.29
7.3.210.0150.00616.47
7.3.200.0090.00616.31
7.3.190.0080.00816.45
7.3.180.0080.00816.18
7.3.170.0120.00916.24
7.3.160.0080.00816.29
7.3.10.0070.00716.57
7.3.00.0060.01016.44
7.2.330.0090.01216.57
7.2.320.0000.01716.53
7.2.310.0040.01116.20
7.2.300.0100.00916.70
7.2.290.0140.00916.31
7.2.130.0060.00916.89
7.2.120.0060.00916.94
7.2.110.0090.00316.88
7.2.100.0070.01016.78
7.2.90.0040.01315.69
7.2.80.0770.00715.50
7.2.70.0060.01015.72
7.2.60.0390.01015.89
7.2.50.0790.01115.83
7.2.40.0060.00615.70
7.2.30.0680.00115.79
7.2.20.0070.00715.78
7.2.10.0060.00715.68
7.2.00.0560.00615.92
7.1.250.0070.00715.77
7.1.210.0030.01013.48
7.1.200.0170.00313.30
7.1.190.0100.00713.78
7.1.180.0090.00913.92
7.1.170.0120.00813.95
7.1.160.0680.00313.74
7.1.150.2040.00313.58
7.1.140.0070.00713.82
7.1.130.0080.01213.73
7.1.120.1030.00613.75
7.1.110.1100.01013.51
7.1.100.1560.01013.69
7.1.90.0970.01013.59
7.1.80.1710.00313.90
7.1.70.1090.00313.64
7.1.60.1170.00331.76
7.1.50.1130.00031.74
7.1.40.0390.01531.60
7.1.30.0320.00631.87
7.1.20.1050.00931.70
7.1.10.0740.00713.70
7.1.00.0160.00613.60
7.0.310.0300.00413.42
7.0.300.0090.00613.46
7.0.290.0410.00813.30
7.0.280.0040.00713.21
7.0.270.1130.00313.38
7.0.260.1960.00313.19
7.0.250.1050.01013.45
7.0.240.0750.00713.36
7.0.230.0910.00713.16
7.0.220.1080.00613.32
7.0.210.1120.00313.14
7.0.200.0260.00313.22
7.0.190.0820.00713.51
7.0.180.0100.00613.13
7.0.170.0810.00713.60
7.0.160.0820.00613.58
7.0.150.0880.00313.59
7.0.140.0810.00613.66
7.0.130.0230.00313.39
7.0.120.0780.00713.48
7.0.110.0060.01313.25
7.0.100.0620.00713.49
7.0.90.0170.00013.17
7.0.80.0120.00313.23
7.0.70.0270.00313.24
7.0.60.0060.01513.04
7.0.50.0460.00713.22
7.0.40.0080.00813.30
7.0.30.0660.01413.30
7.0.20.0110.00613.30
7.0.10.0200.00313.43
7.0.00.0740.00613.52

preferences:
39.2 ms | 401 KiB | 5 Q