3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Test { public function __construct(string $s, int $i) {} } $a = 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.0060.01516.75
8.3.50.0090.01122.05
8.3.40.0000.01518.86
8.3.30.0110.00318.57
8.3.20.0070.00720.16
8.3.10.0040.00423.61
8.3.00.0040.00419.13
8.2.180.0170.00316.75
8.2.170.0100.00722.96
8.2.160.0100.00720.45
8.2.150.0090.00624.18
8.2.140.0070.00024.66
8.2.130.0030.00617.50
8.2.120.0040.00426.35
8.2.110.0070.00320.58
8.2.100.0050.00517.92
8.2.90.0030.00619.09
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0060.00317.80
8.2.50.0050.00318.07
8.2.40.0000.00719.52
8.2.30.0000.00720.49
8.2.20.0030.00717.66
8.2.10.0050.00317.86
8.2.00.0000.00717.94
8.1.280.0070.00725.92
8.1.270.0060.00623.77
8.1.260.0070.00728.09
8.1.250.0040.00428.09
8.1.240.0040.00422.19
8.1.230.0080.00317.66
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0050.00317.22
8.1.180.0030.00618.10
8.1.170.0000.00718.63
8.1.160.0000.00721.90
8.1.150.0000.00818.80
8.1.140.0000.00819.50
8.1.130.0000.00717.57
8.1.120.0000.00717.34
8.1.110.0000.00717.27
8.1.100.0000.00817.32
8.1.90.0070.00017.29
8.1.80.0090.00017.30
8.1.70.0030.00317.36
8.1.60.0040.00417.51
8.1.50.0030.00617.36
8.1.40.0080.00017.32
8.1.30.0000.00917.58
8.1.20.0040.00417.55
8.1.10.0040.00417.41
8.1.00.0000.00817.46
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.43
8.0.270.0050.00217.11
8.0.260.0000.00817.10
8.0.250.0000.00716.82
8.0.240.0070.00316.93
8.0.230.0070.00016.93
8.0.220.0040.00416.92
8.0.210.0000.00716.79
8.0.200.0060.00016.96
8.0.190.0080.00016.85
8.0.180.0040.00416.80
8.0.170.0040.00416.88
8.0.160.0080.00016.92
8.0.150.0030.00316.82
8.0.140.0040.00416.83
8.0.130.0000.00613.39
8.0.120.0050.00316.87
8.0.110.0030.00616.70
8.0.100.0030.00316.92
8.0.90.0040.00416.95
8.0.80.0060.00916.95
8.0.70.0040.00416.83
8.0.60.0000.00816.90
8.0.50.0000.00716.75
8.0.30.0140.00717.13
8.0.20.0090.01217.40
8.0.10.0000.00716.95
8.0.00.0090.01316.77
7.4.330.0020.00216.83
7.4.320.0060.00016.53
7.4.300.0000.00816.47
7.4.290.0050.00216.38
7.4.280.0000.00716.55
7.4.270.0030.00316.45
7.4.260.0030.00316.31
7.4.250.0040.00416.45
7.4.240.0040.00416.48
7.4.230.0000.00716.43
7.4.220.0090.00916.44
7.4.210.0120.00116.50
7.4.200.0000.00716.46
7.4.160.0110.00416.20
7.4.150.0060.01317.40
7.4.140.0120.00617.86
7.4.130.0090.01216.37
7.4.120.0070.01216.43
7.4.110.0130.00316.41
7.4.100.0060.01216.32
7.4.90.0100.01416.43
7.4.80.0160.00619.39
7.4.70.0140.00316.59
7.4.60.0130.00316.52
7.4.50.0080.00416.36
7.4.40.0030.01416.67
7.4.30.0120.00916.55
7.4.00.0030.01014.95
7.3.330.0000.00513.43
7.3.320.0000.00613.35
7.3.310.0020.00516.23
7.3.300.0000.00716.32
7.3.290.0000.00616.27
7.3.280.0070.01116.33
7.3.270.0070.01017.40
7.3.260.0100.00716.28
7.3.250.0110.00616.34
7.3.240.0130.00416.53
7.3.230.0100.00716.54
7.3.210.0080.00816.37
7.3.200.0090.00916.43
7.3.190.0120.00916.58
7.3.180.0060.01016.51
7.3.170.0180.00316.30
7.3.160.0060.00916.19
7.3.10.0120.00616.31
7.3.00.0040.01116.02
7.2.330.0030.01316.60
7.2.320.0180.00916.68
7.2.310.0100.00716.33
7.2.300.0130.01016.60
7.2.290.0120.00916.57
7.2.130.0060.00916.35
7.2.120.0110.00816.01
7.2.110.0090.00616.32
7.2.100.0110.00416.11
7.2.90.0100.01015.98
7.2.80.0080.01516.07
7.2.70.0080.01616.25
7.2.60.0100.00916.52
7.2.50.0170.00916.43
7.2.40.0190.00816.54
7.2.30.0160.00316.16
7.2.20.0120.00615.77
7.2.10.0140.01516.58
7.2.00.0120.00717.78
7.1.250.0130.00315.15
7.1.200.0000.01115.54
7.1.100.0060.00617.99
7.1.70.0000.00717.11
7.1.60.0160.00919.48
7.1.50.0060.01016.63
7.1.00.0000.08022.36
7.0.200.0410.00314.66
7.0.60.0130.06019.95
7.0.50.0130.05317.88
7.0.40.0030.05720.02
7.0.30.0470.06720.16
7.0.20.0330.07720.16
7.0.10.0070.08320.15
7.0.00.0030.04320.19
5.6.280.0130.06321.12
5.6.210.0030.04720.75
5.6.200.0100.08018.14
5.6.190.0030.07320.67
5.6.180.0370.07020.63
5.6.170.0200.08320.55
5.6.160.0030.08320.55
5.6.150.0030.04018.18
5.6.140.0070.06718.28
5.6.130.0000.08718.18
5.6.120.0330.03721.05
5.6.110.0030.08721.01
5.6.100.0100.08321.11
5.6.90.0030.07021.10
5.6.80.0170.06320.51
5.5.350.3800.03720.53
5.5.340.0030.07717.92
5.5.330.0170.06020.35
5.5.320.0070.04020.34
5.5.310.0330.06720.36
5.5.300.0100.03318.07
5.5.290.0000.04317.98
5.5.280.0070.08720.87
5.5.270.0100.09020.89
5.5.260.0100.06320.85
5.5.250.0070.08020.62
5.5.240.0630.04020.23

preferences:
39.61 ms | 401 KiB | 5 Q