3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Test { public function __construct(string $s, int $i) {} } $a = new Test('', '0');

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.0100.01016.38
8.3.50.0070.01121.92
8.3.40.0140.00718.63
8.3.30.0110.00418.42
8.3.20.0040.00420.27
8.3.10.0040.00423.48
8.3.00.0050.00319.25
8.2.180.0090.01218.29
8.2.170.0000.01522.96
8.2.160.0040.01420.27
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0100.00017.63
8.2.120.0040.00426.35
8.2.110.0040.00720.99
8.2.100.0080.00317.72
8.2.90.0030.00617.72
8.2.80.0080.00017.97
8.2.70.0000.00917.63
8.2.60.0030.00517.80
8.2.50.0000.00818.07
8.2.40.0040.00419.28
8.2.30.0000.00720.68
8.2.20.0030.00617.62
8.2.10.0020.00517.99
8.2.00.0000.00817.96
8.1.280.0070.01025.92
8.1.270.0070.00423.91
8.1.260.0050.00328.09
8.1.250.0050.00328.09
8.1.240.0030.00622.54
8.1.230.0110.00020.89
8.1.220.0040.00417.74
8.1.210.0030.00518.78
8.1.200.0070.00317.23
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00918.57
8.1.160.0000.00721.88
8.1.150.0040.00418.88
8.1.140.0050.00319.45
8.1.130.0030.00317.63
8.1.120.0040.00417.39
8.1.110.0000.00817.41
8.1.100.0000.00717.39
8.1.90.0040.00417.30
8.1.80.0030.00717.28
8.1.70.0030.00317.41
8.1.60.0030.00617.47
8.1.50.0090.00017.53
8.1.40.0000.00817.52
8.1.30.0040.00417.47
8.1.20.0030.00617.61
8.1.10.0040.00417.47
8.1.00.0000.00717.52
8.0.300.0000.00720.02
8.0.290.0040.00416.63
8.0.280.0070.00018.29
8.0.270.0000.00717.23
8.0.260.0000.01017.12
8.0.250.0030.00316.96
8.0.240.0080.00016.91
8.0.230.0000.00716.88
8.0.220.0050.00316.78
8.0.210.0030.00316.77
8.0.200.0000.00616.95
8.0.190.0040.00416.88
8.0.180.0050.00316.90
8.0.170.0080.00016.94
8.0.160.0040.00416.76
8.0.150.0030.00516.86
8.0.140.0030.00316.88
8.0.130.0050.00013.39
8.0.120.0030.00616.77
8.0.110.0030.00516.89
8.0.100.0050.00216.83
8.0.90.0040.00416.75
8.0.80.0000.01516.84
8.0.70.0040.00416.75
8.0.60.0050.00216.68
8.0.50.0070.00016.73
8.0.30.0050.01017.07
8.0.20.0160.01017.40
8.0.10.0030.00616.96
8.0.00.0120.01016.82
7.4.330.0020.00216.70
7.4.320.0000.00616.35
7.4.300.0030.00316.52
7.4.290.0000.00716.56
7.4.280.0000.00716.57
7.4.270.0060.00016.58
7.4.260.0030.00316.57
7.4.250.0020.00516.45
7.4.240.0020.00516.56
7.4.230.0000.00716.39
7.4.220.0100.00716.46
7.4.210.0070.00816.53
7.4.200.0070.00016.41
7.4.160.0090.00616.66
7.4.150.0070.01117.40
7.4.140.0170.00617.86
7.4.130.0170.00816.34
7.4.120.0120.00716.57
7.4.110.0170.00416.47
7.4.100.0130.00316.30
7.4.90.0060.01716.40
7.4.80.0080.01119.39
7.4.70.0120.00616.32
7.4.60.0060.00916.37
7.4.50.0060.00516.28
7.4.40.0130.00616.58
7.4.30.0100.00716.49
7.4.00.0060.00914.87
7.3.330.0000.00513.19
7.3.320.0050.00013.24
7.3.310.0030.00616.23
7.3.300.0000.00716.24
7.3.290.0030.00316.24
7.3.280.0080.01016.24
7.3.270.0130.00317.40
7.3.260.0030.01316.13
7.3.250.0090.00916.23
7.3.240.0130.00416.33
7.3.230.0030.01416.39
7.3.210.0120.01216.43
7.3.200.0130.00616.45
7.3.190.0120.00916.44
7.3.180.0100.00616.17
7.3.170.0060.00916.33
7.3.160.0130.00716.49
7.2.330.0100.00616.57
7.2.320.0090.00916.68
7.2.310.0060.01016.63
7.2.300.0070.01016.46
7.2.290.0100.00916.48
7.2.60.0100.00316.89
7.2.00.0040.00719.42
7.1.200.0060.00615.48
7.1.100.0070.00718.14
7.1.70.0080.00016.80
7.1.60.0110.01419.48
7.1.50.0040.00716.95
7.1.00.0030.07722.51
7.0.200.0390.00314.41
7.0.60.0070.07019.86
7.0.50.0070.05017.88
7.0.40.0170.03720.09
7.0.30.0170.05720.09
7.0.20.0370.07020.10
7.0.10.0130.08020.09
7.0.00.0030.04020.20
5.6.280.0070.06720.91
5.6.210.0200.06720.46
5.6.200.0100.08018.20
5.6.190.0130.04720.39
5.6.180.0330.05720.46
5.6.170.0300.06020.55
5.6.160.0070.08720.43
5.6.150.0030.04018.19
5.6.140.0000.04318.15
5.6.130.0070.07318.18
5.6.120.0170.07020.99
5.6.110.0100.07021.09
5.6.100.0030.08720.96
5.6.90.0070.04321.10
5.6.80.0100.05320.41
5.5.350.4030.04320.44
5.5.340.0130.07317.97
5.5.330.0000.09320.19
5.5.320.0070.08020.33
5.5.310.0330.04320.23
5.5.300.0030.04318.03
5.5.290.0000.04317.98
5.5.280.0030.07320.88
5.5.270.0030.05020.73
5.5.260.0030.08320.67
5.5.250.0170.06320.59
5.5.240.0400.05320.04

preferences:
42.99 ms | 401 KiB | 5 Q