3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Test { public function __construct(string $s, int $i) {} } $a = new Test\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.01316.75
8.3.50.0180.00021.93
8.3.40.0120.00318.68
8.3.30.0070.00718.71
8.3.20.0070.00020.04
8.3.10.0080.00023.83
8.3.00.0050.00319.38
8.2.180.0120.00916.63
8.2.170.0070.01422.96
8.2.160.0070.01020.38
8.2.150.0100.00725.66
8.2.140.0050.00324.66
8.2.130.0040.00417.38
8.2.120.0040.00426.35
8.2.110.0030.00620.34
8.2.100.0040.00717.93
8.2.90.0000.00819.30
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00817.80
8.2.50.0080.00018.07
8.2.40.0080.00019.14
8.2.30.0040.00420.53
8.2.20.0070.00317.48
8.2.10.0000.00718.04
8.2.00.0070.00017.91
8.1.280.0040.01125.92
8.1.270.0000.01223.92
8.1.260.0100.00328.09
8.1.250.0000.00828.09
8.1.240.0080.00022.07
8.1.230.0090.00317.53
8.1.220.0000.00917.74
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0070.00018.71
8.1.160.0000.00721.88
8.1.150.0070.00018.79
8.1.140.0040.00419.43
8.1.130.0070.00017.45
8.1.120.0040.00417.33
8.1.110.0050.00217.29
8.1.100.0090.00017.20
8.1.90.0040.00417.24
8.1.80.0040.00417.32
8.1.70.0000.00717.25
8.1.60.0020.00517.43
8.1.50.0000.00817.33
8.1.40.0030.00817.46
8.1.30.0040.00417.42
8.1.20.0040.00417.59
8.1.10.0050.00317.41
8.1.00.0000.00717.44
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0030.00317.23
8.0.260.0030.00317.14
8.0.250.0050.00216.99
8.0.240.0050.00216.99
8.0.230.0000.00716.92
8.0.220.0000.00716.78
8.0.210.0030.00316.85
8.0.200.0080.00016.95
8.0.190.0030.00616.93
8.0.180.0000.00716.96
8.0.170.0040.00416.90
8.0.160.0050.00316.90
8.0.150.0000.00716.80
8.0.140.0040.00416.77
8.0.130.0080.00013.32
8.0.120.0080.00016.82
8.0.110.0000.00916.78
8.0.100.0030.00316.79
8.0.90.0040.00416.88
8.0.80.0090.01216.81
8.0.70.0000.00816.82
8.0.60.0050.00316.76
8.0.50.0000.00816.90
8.0.30.0100.00917.12
8.0.20.0090.01017.40
8.0.10.0080.00016.97
8.0.00.0080.01416.68
7.4.330.0020.00216.77
7.4.320.0000.00616.36
7.4.300.0090.00016.43
7.4.290.0000.00716.44
7.4.280.0070.00016.57
7.4.270.0000.00616.52
7.4.260.0030.00316.46
7.4.250.0050.00316.47
7.4.240.0030.00416.48
7.4.230.0070.00016.42
7.4.220.0040.01416.46
7.4.210.0050.00916.52
7.4.200.0040.00416.60
7.4.160.0120.00316.43
7.4.150.0090.00917.40
7.4.140.0120.00717.86
7.4.130.0080.01116.64
7.4.120.0100.00816.48
7.4.110.0100.00716.32
7.4.100.0070.01116.66
7.4.90.0100.00716.33
7.4.80.0100.00619.39
7.4.70.0060.00916.60
7.4.60.0080.00816.34
7.4.50.0060.00816.32
7.4.40.0100.00516.42
7.4.30.0130.00916.45
7.4.00.0040.01114.88
7.3.330.0000.00613.29
7.3.320.0000.00513.29
7.3.310.0000.00716.19
7.3.300.0030.00316.26
7.3.290.0040.00416.16
7.3.280.0090.00716.26
7.3.270.0080.00817.40
7.3.260.0110.00516.51
7.3.250.0110.00816.39
7.3.240.0030.01416.60
7.3.230.0030.01416.39
7.3.210.0090.00916.20
7.3.200.0040.01216.34
7.3.190.0160.00716.44
7.3.180.0090.00616.29
7.3.170.0140.00616.27
7.3.160.0090.00616.29
7.2.330.0160.00016.49
7.2.320.0110.00716.59
7.2.310.0100.00716.48
7.2.300.0040.01916.62
7.2.290.0070.01016.47
7.2.60.0090.00316.84
7.2.00.0110.00419.29
7.1.200.0030.01015.82
7.1.100.0000.01417.79
7.1.70.0050.00517.03
7.1.60.0070.01619.48
7.1.50.0070.01316.70
7.1.00.0000.08022.32
7.0.200.0510.00314.67
7.0.60.0070.08319.93
7.0.50.0170.07317.77
7.0.40.0070.09020.09
7.0.30.0370.08020.07
7.0.20.0300.08320.25
7.0.10.0130.08320.16
7.0.00.0070.05020.11
5.6.280.0070.04020.81
5.6.210.0030.04720.54
5.6.200.0130.07318.15
5.6.190.0030.08020.50
5.6.180.0300.08020.60
5.6.170.0300.07320.55
5.6.160.0030.06320.55
5.6.150.0030.03718.22
5.6.140.0170.06318.18
5.6.130.0030.08018.27
5.6.120.0000.05720.98
5.6.110.0100.08021.04
5.6.100.0070.08321.11
5.6.90.0130.03721.01
5.6.80.0130.04720.29
5.5.350.4030.04720.38
5.5.340.0130.07317.98
5.5.330.0200.04720.27
5.5.320.0000.05020.42
5.5.310.0230.03720.41
5.5.300.0000.06017.95
5.5.290.0030.04017.98
5.5.280.0070.07720.64
5.5.270.0100.08020.89
5.5.260.0070.08720.87
5.5.250.0130.07320.46
5.5.240.0270.04720.29

preferences:
39.56 ms | 401 KiB | 5 Q