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.0100.01016.38
8.3.50.0130.00521.99
8.3.40.0150.00018.71
8.3.30.0070.00718.43
8.3.20.0040.00420.26
8.3.10.0000.00823.63
8.3.00.0050.00319.25
8.2.180.0150.00616.38
8.2.170.0070.01022.96
8.2.160.0140.00320.35
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0030.00617.35
8.2.120.0000.00826.35
8.2.110.0130.00320.39
8.2.100.0090.00317.80
8.2.90.0000.00819.11
8.2.80.0000.00817.97
8.2.70.0080.00017.37
8.2.60.0060.00317.68
8.2.50.0050.00318.07
8.2.40.0070.00019.34
8.2.30.0000.00720.66
8.2.20.0050.00517.41
8.2.10.0000.00717.97
8.2.00.0050.00317.85
8.1.280.0100.00725.92
8.1.270.0040.00723.79
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0080.00022.00
8.1.230.0080.00417.63
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0070.00317.23
8.1.190.0080.00017.10
8.1.180.0030.00618.10
8.1.170.0040.00418.79
8.1.160.0000.00721.84
8.1.150.0000.00718.63
8.1.140.0040.00419.50
8.1.130.0030.00317.55
8.1.120.0040.00417.42
8.1.110.0050.00317.34
8.1.100.0050.00317.26
8.1.90.0070.00017.36
8.1.80.0000.00817.22
8.1.70.0000.00717.30
8.1.60.0040.00417.29
8.1.50.0030.00517.28
8.1.40.0030.00617.43
8.1.30.0090.00017.50
8.1.20.0050.00317.46
8.1.10.0030.00517.37
8.1.00.0030.00617.38
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.22
8.0.270.0030.00317.11
8.0.260.0040.00417.06
8.0.250.0000.00616.83
8.0.240.0050.00316.80
8.0.230.0000.00616.85
8.0.220.0050.00316.84
8.0.210.0040.00416.73
8.0.200.0030.00316.88
8.0.190.0040.00416.86
8.0.180.0030.00316.85
8.0.170.0030.00516.79
8.0.160.0030.00616.72
8.0.150.0000.00716.75
8.0.140.0000.00716.78
8.0.130.0040.00413.31
8.0.120.0030.00616.84
8.0.110.0050.00216.66
8.0.100.0030.00316.66
8.0.90.0040.00416.85
8.0.80.0150.00016.86
8.0.70.0000.00816.93
8.0.60.0040.00416.77
8.0.50.0070.00016.88
8.0.30.0110.00717.05
8.0.20.0070.01217.40
8.0.10.0000.00716.91
8.0.00.0110.01116.69
7.4.330.0050.00016.77
7.4.320.0030.00316.32
7.4.300.0030.00316.31
7.4.290.0000.00716.28
7.4.280.0000.00716.30
7.4.270.0000.00616.48
7.4.260.0030.00316.38
7.4.250.0050.00316.44
7.4.240.0050.00316.41
7.4.230.0000.00716.38
7.4.220.0130.01016.53
7.4.210.0080.00616.38
7.4.200.0040.00416.36
7.4.160.0070.00716.31
7.4.150.0110.00617.40
7.4.140.0170.00317.86
7.4.130.0170.00316.54
7.4.120.0110.01116.39
7.4.110.0080.00816.41
7.4.100.0090.00916.18
7.4.90.0130.00416.52
7.4.80.0140.00719.39
7.4.70.0060.01016.55
7.4.60.0060.01016.41
7.4.50.0000.01116.38
7.4.40.0060.01616.07
7.4.30.0080.00816.37
7.4.00.0050.01214.78
7.3.330.0050.00013.24
7.3.320.0000.00513.18
7.3.310.0000.00716.08
7.3.300.0030.00316.10
7.3.290.0000.00716.09
7.3.280.0080.01016.20
7.3.270.0130.00717.40
7.3.260.0100.00716.50
7.3.250.0070.01116.30
7.3.240.0080.00816.33
7.3.230.0060.01116.39
7.3.210.0070.01016.46
7.3.200.0060.00916.57
7.3.190.0130.00816.13
7.3.180.0100.00716.11
7.3.170.0150.00616.30
7.3.160.0110.01016.30
7.3.120.0070.01414.53
7.3.110.0070.01114.60
7.3.100.0100.00314.68
7.3.90.0030.00614.72
7.3.80.0110.00314.48
7.3.70.0120.00314.46
7.3.60.0070.01014.58
7.3.50.0030.00914.80
7.3.40.0090.00614.58
7.3.30.0030.01014.66
7.3.20.0030.01216.36
7.3.10.0100.00816.14
7.3.00.0070.01016.41
7.2.330.0030.01416.48
7.2.320.0130.00316.27
7.2.310.0030.01416.31
7.2.300.0150.01616.45
7.2.290.0140.00316.52
7.2.250.0070.01314.87
7.2.240.0070.01014.99
7.2.230.0030.00915.07
7.2.220.0030.00614.88
7.2.210.0030.01014.94
7.2.200.0030.00614.80
7.2.190.0040.01114.70
7.2.180.0130.00314.84
7.2.170.0070.00714.62
7.2.130.0120.01216.48
7.2.120.0120.01216.36
7.2.110.0100.01415.98
7.2.100.0130.01016.09
7.2.90.0150.01216.54
7.2.80.0140.00016.38
7.2.70.0130.01016.30
7.2.60.0060.00916.36
7.2.50.0170.00316.66
7.2.40.0110.01516.61
7.2.30.0060.01316.40
7.2.20.0150.00616.26
7.2.10.0140.01116.56
7.2.00.0070.00717.91
7.1.330.0100.00315.59
7.1.320.0030.00915.73
7.1.310.0070.01015.56
7.1.300.0110.01115.69
7.1.290.0030.01715.59
7.1.280.0070.01115.75
7.1.270.0070.00715.42
7.1.260.0060.00615.63
7.1.250.0160.00315.48
7.1.200.0000.01015.61
7.1.100.0000.01117.91
7.1.70.0030.00516.67
7.1.60.0070.01719.48
7.1.50.0130.00616.63
7.1.00.0070.07322.45
7.0.200.0450.00314.36
7.0.60.0030.06719.95
7.0.50.0070.07717.90
7.0.40.0030.05320.24
7.0.30.0330.05320.13
7.0.20.0300.06320.09
7.0.10.0030.04320.21
7.0.00.0070.07720.23
5.6.280.0000.06020.82
5.6.210.0200.07020.51
5.6.200.0100.07318.16
5.6.190.0070.07020.48
5.6.180.0270.05320.46
5.6.170.0170.04320.41
5.6.160.0130.06320.54
5.6.150.0100.07718.15
5.6.140.0030.05318.14
5.6.130.0170.07718.19
5.6.120.0100.08021.05
5.6.110.0200.09321.03
5.6.100.0000.06720.99
5.6.90.0030.05321.10
5.6.80.0070.03720.48
5.5.350.2530.03720.47
5.5.340.0070.04018.02
5.5.330.0030.09020.45
5.5.320.0270.03020.35
5.5.310.0300.04020.27
5.5.300.0070.08318.00
5.5.290.0030.06017.97
5.5.280.0130.06320.88
5.5.270.0170.08020.95
5.5.260.0130.07720.79
5.5.250.0070.06720.54
5.5.240.0470.06020.18

preferences:
43.47 ms | 401 KiB | 5 Q