3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function __construct() { echo 'testar'; } } 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.50
8.3.50.0130.00621.91
8.3.40.0060.00818.67
8.3.30.0140.00018.71
8.3.20.0030.00619.97
8.3.10.0050.00323.64
8.3.00.0000.00819.13
8.2.180.0140.00716.37
8.2.170.0030.01022.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0030.00617.38
8.2.120.0050.00326.35
8.2.110.0030.00620.46
8.2.100.0110.00417.55
8.2.90.0070.00319.01
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00419.21
8.2.30.0000.00820.68
8.2.20.0000.00817.61
8.2.10.0000.00717.97
8.2.00.0040.00418.02
8.1.280.0090.00625.92
8.1.270.0080.00023.89
8.1.260.0040.00428.09
8.1.250.0110.00428.09
8.1.240.0030.00622.48
8.1.230.0030.00717.64
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0080.00016.75
8.1.180.0000.00718.10
8.1.170.0000.00818.52
8.1.160.0040.00421.94
8.1.150.0000.00718.80
8.1.140.0030.00519.44
8.1.130.0050.00317.47
8.1.120.0040.00317.39
8.1.110.0050.00317.25
8.1.100.0050.00517.34
8.1.90.0000.00817.36
8.1.80.0040.00317.22
8.1.70.0000.00717.25
8.1.60.0000.00817.50
8.1.50.0040.00717.48
8.1.40.0050.00317.39
8.1.30.0000.00817.57
8.1.20.0030.00617.63
8.1.10.0050.00317.45
8.1.00.0070.00317.36
8.0.300.0000.00918.77
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0040.00417.24
8.0.260.0000.00617.16
8.0.250.0050.00216.90
8.0.240.0050.00216.75
8.0.230.0050.00316.68
8.0.220.0000.00716.75
8.0.210.0000.00816.64
8.0.200.0070.00316.84
8.0.190.0040.00416.70
8.0.180.0040.00416.87
8.0.170.0040.00416.84
8.0.160.0050.00316.77
8.0.150.0030.00316.77
8.0.140.0040.00416.57
8.0.130.0050.00013.18
8.0.120.0000.00816.71
8.0.110.0070.00016.83
8.0.100.0000.00716.75
8.0.90.0040.00416.71
8.0.80.0070.01416.71
8.0.70.0090.00016.83
8.0.60.0040.00416.82
8.0.50.0000.00716.76
8.0.30.0060.01316.99
8.0.20.0100.01317.40
8.0.10.0000.00716.92
8.0.00.0040.01316.78
7.4.330.0000.00515.08
7.4.320.0000.00616.39
7.4.300.0070.00016.43
7.4.290.0030.00316.45
7.4.280.0000.00716.52
7.4.270.0000.00716.50
7.4.260.0040.00416.41
7.4.250.0060.00316.29
7.4.240.0030.00516.40
7.4.230.0000.00716.57
7.4.220.0130.00616.48
7.4.210.0090.00916.53
7.4.200.0000.00716.41
7.4.160.0060.01016.58
7.4.150.0090.00917.40
7.4.140.0150.00917.86
7.4.130.0170.01716.39
7.4.120.0080.00916.29
7.4.110.0170.00716.64
7.4.100.0160.00416.35
7.4.90.0280.02216.43
7.4.80.0060.01219.39
7.4.70.0130.01016.42
7.4.60.0070.01316.29
7.4.50.0000.00616.24
7.4.40.0100.00716.35
7.4.30.0110.00816.43
7.4.00.0100.00714.96
7.3.330.0000.00713.11
7.3.320.0060.00013.23
7.3.310.0000.00716.27
7.3.300.0030.00416.10
7.3.290.0030.00316.27
7.3.280.0080.00816.20
7.3.270.0110.00617.40
7.3.260.0110.01416.26
7.3.240.0090.00816.41
7.3.230.0170.00016.50
7.3.210.0090.00616.31
7.3.200.0060.00916.48
7.3.190.0060.01116.36
7.3.180.0120.00916.11
7.3.170.0140.00916.27
7.3.160.0110.00816.42
7.2.330.0090.00816.66
7.2.320.0100.00716.68
7.2.310.0060.00916.45
7.2.300.0120.00416.63
7.2.290.0040.01316.36
7.2.00.0130.00719.18
7.1.100.0030.00917.86
7.1.70.0050.00516.72
7.1.60.0190.00619.48
7.1.50.0100.01316.84
7.1.00.0030.07722.28
7.0.200.0040.00714.82
7.0.60.0100.04019.81
7.0.50.0130.07317.87
7.0.40.0070.04720.20
7.0.30.0070.04720.34
7.0.20.0170.04320.15
7.0.10.0170.04320.12
7.0.00.0030.06320.22
5.6.280.0100.06721.12
5.6.210.0070.08020.57
5.6.200.0100.03718.30
5.6.190.0100.05720.51
5.6.180.0200.07320.67
5.6.170.0300.06720.55
5.6.160.0170.07320.46
5.6.150.0000.05718.18
5.6.140.0030.09018.18
5.6.130.0030.06718.23
5.6.120.0100.05021.02
5.6.110.0170.07720.89
5.6.100.0270.03721.13
5.6.90.0000.04321.13
5.6.80.0070.07320.48
5.5.350.2470.03320.41
5.5.340.0070.08317.99
5.5.330.0100.06720.34
5.5.320.0530.04020.25
5.5.310.0270.04720.28
5.5.300.0000.05318.14
5.5.290.0070.05017.98
5.5.280.0070.06320.85
5.5.270.0070.08320.72
5.5.260.0100.07720.96
5.5.250.0030.07720.74
5.5.240.0030.06320.29

preferences:
49.82 ms | 401 KiB | 5 Q