3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function Test(){ echo 'oki'; } } $t1 = new Test();

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.0070.01016.75
8.3.50.0090.01021.92
8.3.40.0170.00318.51
8.3.30.0120.00318.59
8.3.20.0040.00420.09
8.3.10.0050.00223.67
8.3.00.0030.00619.13
8.2.180.0120.00316.63
8.2.170.0070.00722.96
8.2.160.0110.00720.47
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0080.00017.47
8.2.110.0070.00321.06
8.2.100.0120.00017.93
8.2.90.0000.00919.28
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0020.00517.93
8.2.50.0040.00418.07
8.2.40.0000.00719.22
8.2.30.0030.00320.55
8.2.20.0040.00417.68
8.2.10.0040.00418.05
8.2.00.0040.00417.91
8.1.280.0100.00325.92
8.1.270.0050.00224.66
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0060.00323.92
8.1.230.0070.00417.64
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0050.00317.00
8.1.180.0060.00318.10
8.1.170.0000.00818.88
8.1.160.0040.00421.85
8.1.150.0040.00420.61
8.1.140.0040.00419.50
8.1.130.0030.00317.25
8.1.120.0040.00417.36
8.1.110.0040.00417.34
8.1.100.0030.00517.37
8.1.90.0000.00717.42
8.1.80.0030.00417.39
8.1.70.0070.00017.31
8.1.60.0000.00817.37
8.1.50.0040.00417.50
8.1.40.0030.00617.40
8.1.30.0040.00417.60
8.1.20.0030.00617.48
8.1.10.0000.00817.51
8.1.00.0000.00717.40
8.0.300.0070.00018.77
8.0.290.0040.00416.58
8.0.280.0060.00018.42
8.0.270.0050.00317.18
8.0.260.0030.00316.66
8.0.250.0000.00716.88
8.0.240.0000.00816.77
8.0.230.0030.00316.79
8.0.220.0000.00716.77
8.0.210.0040.00416.72
8.0.200.0000.00616.77
8.0.190.0050.00316.87
8.0.180.0050.00316.86
8.0.170.0030.00516.86
8.0.160.0050.00316.93
8.0.150.0000.00816.73
8.0.140.0040.00416.75
8.0.130.0060.00013.24
8.0.120.0050.00316.74
8.0.110.0040.00416.72
8.0.100.0050.00316.77
8.0.90.0040.00416.64
8.0.80.0130.00216.77
8.0.70.0000.00816.77
8.0.60.0070.00016.70
8.0.50.0050.00316.89
8.0.30.0110.01117.07
8.0.20.0150.00317.40
8.0.10.0040.00416.74
8.0.00.0110.00716.70
7.4.330.0030.00315.08
7.4.320.0000.00716.45
7.4.300.0000.00616.40
7.4.290.0070.00016.41
7.4.280.0040.00416.59
7.4.270.0070.00016.57
7.4.260.0030.00616.55
7.4.250.0000.00816.45
7.4.240.0030.00416.51
7.4.230.0000.00716.57
7.4.220.0050.01316.63
7.4.210.0030.01216.52
7.4.200.0030.00316.60
7.4.160.0000.01516.53
7.4.150.0070.01017.40
7.4.140.0130.00917.86
7.4.130.0060.01016.36
7.4.120.0120.00516.58
7.4.110.0170.00016.65
7.4.100.0170.00716.55
7.4.90.0100.00716.57
7.4.80.0100.01319.39
7.4.70.0070.01016.29
7.4.60.0090.00916.63
7.4.50.0000.00916.61
7.4.40.0140.00316.45
7.4.30.0030.01316.57
7.4.00.0110.00715.14
7.3.330.0020.00213.27
7.3.320.0000.00513.26
7.3.310.0000.00716.35
7.3.300.0030.00316.30
7.3.290.0070.00016.37
7.3.280.0070.01016.26
7.3.270.0060.00917.40
7.3.260.0050.01116.28
7.3.250.0110.00716.30
7.3.240.0090.00816.29
7.3.230.0100.00716.52
7.3.210.0060.01016.25
7.3.200.0080.00816.31
7.3.190.0070.00816.52
7.3.180.0060.00916.28
7.3.170.0060.01216.48
7.3.160.0050.01116.32
7.3.10.0060.00616.39
7.3.00.0090.00916.63
7.2.330.0130.00316.38
7.2.320.0120.00816.28
7.2.310.0140.00316.75
7.2.300.0060.01216.41
7.2.290.0090.00916.70
7.2.130.0040.01116.77
7.2.120.0090.00616.95
7.2.110.0110.00416.67
7.2.100.0060.00316.57
7.2.90.0000.01416.59
7.2.80.0070.00716.63
7.2.70.0070.00716.97
7.2.60.0100.00417.02
7.2.50.0090.00616.89
7.2.40.0060.00316.81
7.2.30.0030.01216.70
7.2.20.0040.00716.49
7.2.10.0060.00316.82
7.2.00.0040.00918.19
7.1.250.0060.00315.38
7.1.200.0030.01015.30
7.1.100.0000.01418.19
7.1.70.0140.00316.60
7.1.60.0060.01619.48
7.1.50.0030.00716.54
7.1.00.0070.07322.28
7.0.200.0040.00714.43
7.0.60.0100.07319.86
7.0.50.0070.07317.87
7.0.40.0070.09020.24
7.0.30.0030.04720.25
7.0.20.0370.07720.24
7.0.10.0070.04720.08
7.0.00.0200.06020.22
5.6.280.0030.07320.99
5.6.210.0030.07320.69
5.6.200.0170.06318.29
5.6.190.0070.06320.41
5.6.180.0270.07020.46
5.6.170.0300.07020.43
5.6.160.0000.06320.41
5.6.150.0100.08018.18
5.6.140.0100.06718.18
5.6.130.0000.04718.28
5.6.120.0000.04721.00
5.6.110.0070.04321.09
5.6.100.0130.07721.01
5.6.90.0100.08021.02
5.6.80.0100.03720.37
5.5.350.2730.02320.40
5.5.340.0100.07017.95
5.5.330.0070.04320.26
5.5.320.0370.05020.35
5.5.310.0200.06020.23
5.5.300.0070.03717.97
5.5.290.0030.07318.05
5.5.280.0070.04320.89
5.5.270.0130.03320.73
5.5.260.0030.07720.77
5.5.250.0130.07720.69
5.5.240.0000.04320.12

preferences:
98.01 ms | 401 KiB | 5 Q