3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface myInterface { public function __construct(); } class concret implements myInterface { public function __construct($arg=null) { print_r(func_get_args()); } } $obj = new concret(123);

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.40.0000.01418.54
8.3.30.0100.00320.17
8.3.20.0040.00420.22
8.3.10.0080.00021.84
8.3.00.0040.00422.39
8.2.170.0040.01422.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0090.00926.16
8.2.120.0050.00319.54
8.2.110.0030.00622.26
8.2.100.0050.00519.41
8.2.90.0040.00419.07
8.2.80.0000.00719.26
8.2.70.0100.00017.63
8.2.60.0040.00417.91
8.2.50.0080.00018.07
8.2.40.0000.00818.12
8.2.30.0000.00718.03
8.2.20.0070.00017.66
8.2.10.0000.00817.73
8.2.00.0030.00917.66
8.1.270.0030.00624.66
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00023.86
8.1.230.0000.01119.05
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0040.00417.36
8.1.190.0030.00617.66
8.1.180.0080.00018.10
8.1.170.0090.00018.52
8.1.160.0040.00422.06
8.1.150.0000.00918.63
8.1.140.0030.00617.45
8.1.130.0030.00317.73
8.1.120.0040.00417.42
8.1.110.0050.00217.47
8.1.100.0030.00317.48
8.1.90.0040.00417.34
8.1.80.0040.00417.43
8.1.70.0040.00417.45
8.1.60.0060.00317.54
8.1.50.0000.00717.44
8.1.40.0000.00717.51
8.1.30.0000.00717.53
8.1.20.0040.00417.54
8.1.10.0000.00917.53
8.1.00.0040.00417.45
8.0.300.0000.00818.77
8.0.290.0000.00717.18
8.0.280.0070.00018.44
8.0.270.0000.00817.23
8.0.260.0000.00616.74
8.0.250.0000.00616.95
8.0.240.0000.00916.88
8.0.230.0030.00316.85
8.0.220.0050.00316.91
8.0.210.0070.00016.83
8.0.200.0040.00416.93
8.0.190.0040.00416.84
8.0.180.0000.00816.90
8.0.170.0070.00016.81
8.0.160.0040.00416.84
8.0.150.0030.00516.68
8.0.140.0070.00016.81
8.0.130.0000.00613.30
8.0.120.0070.00016.83
8.0.110.0030.00516.77
8.0.100.0030.00316.77
8.0.90.0070.00016.91
8.0.80.0060.00916.76
8.0.70.0040.00416.83
8.0.60.0000.00716.69
8.0.50.0000.00816.95
8.0.30.0110.00617.22
8.0.20.0100.00917.40
8.0.10.0040.00417.06
8.0.00.0090.00816.78
7.4.330.0000.00515.00
7.4.320.0040.00416.47
7.4.300.0000.00916.48
7.4.290.0000.00616.59
7.4.280.0060.00316.61
7.4.270.0030.00316.44
7.4.260.0040.00416.49
7.4.250.0000.00716.54
7.4.240.0020.00516.46
7.4.230.0000.00716.59
7.4.220.0070.01016.53
7.4.210.0100.00716.58
7.4.200.0000.00716.63
7.4.190.0000.00716.65
7.4.160.0090.01216.48
7.4.150.0090.00917.40
7.4.140.0100.00817.86
7.4.130.0120.00616.47
7.4.120.0080.01016.45
7.4.110.0070.01016.49
7.4.100.0070.01016.60
7.4.90.0180.00016.57
7.4.80.0070.01419.39
7.4.70.0000.01616.58
7.4.60.0060.01216.46
7.4.50.0000.00916.39
7.4.40.0070.00722.77
7.4.30.0070.01716.45
7.4.00.0080.00814.99
7.3.330.0030.00313.01
7.3.320.0000.00513.25
7.3.310.0040.00316.33
7.3.300.0030.00616.28
7.3.290.0060.00916.18
7.3.280.0080.01016.31
7.3.270.0030.01317.40
7.3.260.0030.01916.24
7.3.250.0090.01216.26
7.3.240.0030.01516.29
7.3.230.0100.00616.39
7.3.210.0100.00716.48
7.3.200.0100.00619.39
7.3.190.0030.01516.32
7.3.180.0050.01116.54
7.3.170.0090.01216.45
7.3.160.0150.00016.34
7.3.120.0000.01415.05
7.3.10.0000.01116.39
7.3.00.0110.00716.31
7.2.330.0130.00516.58
7.2.320.0130.01016.67
7.2.310.0060.01216.54
7.2.300.0090.01416.55
7.2.290.0000.01716.61
7.2.130.0060.00616.60
7.2.120.0090.00616.54
7.2.110.0140.00716.43
7.2.100.0110.00716.60
7.2.90.0110.01116.40
7.2.80.0120.01516.54
7.2.70.0040.02316.78
7.2.60.0110.01116.27
7.2.50.0000.01816.65
7.2.40.0180.00616.70
7.2.30.0200.01016.63
7.2.20.0110.00716.65
7.2.10.0140.00716.56
7.2.00.0080.00917.78
7.1.250.0180.00015.50
7.1.70.0070.00316.97
7.1.60.0100.01319.43
7.1.50.0070.01816.81
7.1.00.0030.07022.33
7.0.200.0030.00716.64
7.0.140.0030.07022.07
7.0.70.4700.04019.89
7.0.60.0070.05319.84
7.0.50.0130.07317.96
7.0.40.0200.07720.02
7.0.30.0170.04320.04
7.0.20.0130.04320.18
7.0.10.0230.07320.30
7.0.00.0070.05720.12
5.6.280.0070.06720.78
5.6.210.0000.04320.49
5.6.200.0070.05718.18
5.6.190.0200.04020.77
5.6.180.0130.07720.36
5.6.170.0300.05020.56
5.6.160.0070.08720.50
5.6.150.0030.04018.14
5.6.140.0130.07318.18
5.6.130.0000.05318.16
5.6.120.0030.06021.02
5.6.110.0100.08321.02
5.6.100.0070.04721.11
5.6.90.0030.07020.95
5.6.80.0070.08320.39
5.6.70.0100.07720.35
5.5.350.0070.07720.41
5.5.340.0030.04718.05
5.5.330.0070.04320.35
5.5.320.0000.04320.26
5.5.310.0330.07020.19
5.5.300.0070.07718.06
5.5.290.0000.07017.98
5.5.280.0070.05020.87
5.5.270.0030.06320.98
5.5.260.0070.07020.77
5.5.250.0130.07320.48
5.5.240.0030.05720.23
5.4.450.0530.06019.61
5.4.440.0800.06719.16
5.4.430.0400.06019.55
5.4.420.0830.06319.54
5.4.410.0870.06719.45
5.4.400.0930.05018.88
5.4.390.0930.06319.29
5.4.380.0170.05718.56
5.4.370.0070.05318.47
5.4.360.0100.03318.51
5.4.350.0080.04812.02
5.4.340.0060.04812.01
5.4.320.0070.03812.50
5.4.310.0070.04512.49
5.4.300.0070.04512.50
5.4.290.0100.04912.50
5.4.280.0050.04812.39
5.4.270.0070.04112.40
5.4.260.0040.04712.40
5.4.250.0070.04212.39
5.3.290.0100.04112.80
4.3.00.0100.0237.38

preferences:
63.92 ms | 400 KiB | 5 Q