3v4l.org

run code in 300+ PHP versions simultaneously
<?php class T { } class Y { } $x = function(T ...$configs) { var_dump($configs); }; $x(new T, new T, new Y);

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.5.30.0120.00419.46
8.5.20.0110.00720.31
8.5.10.0070.01119.54
8.5.00.0110.01120.28
8.4.180.0140.00919.73
8.4.170.0120.00923.68
8.4.160.0140.01023.16
8.4.150.0060.00617.75
8.4.140.0090.01217.76
8.4.130.0120.00819.57
8.4.120.0090.00620.47
8.4.110.0060.00722.71
8.4.100.0130.00818.69
8.4.90.0130.00818.84
8.4.80.0110.00920.39
8.4.70.0130.00618.23
8.4.60.0080.00318.70
8.4.50.0130.00718.73
8.4.40.0070.01419.45
8.4.30.0130.00319.50
8.4.20.0110.00918.00
8.4.10.0030.01317.59
8.3.300.0130.00720.75
8.3.290.0170.00320.68
8.3.280.0110.00818.51
8.3.270.0130.00716.56
8.3.260.0140.00516.75
8.3.250.0080.00318.90
8.3.240.0070.01219.13
8.3.230.0110.00816.65
8.3.220.0060.00619.13
8.3.210.0090.00916.74
8.3.200.0070.00216.96
8.3.190.0110.00717.02
8.3.180.0080.00716.69
8.3.170.0060.00920.58
8.3.160.0050.00317.13
8.3.150.0140.00416.99
8.3.140.0120.00616.73
8.3.130.0080.00016.71
8.3.120.0070.00418.89
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0070.01126.77
8.3.80.0000.00816.50
8.3.70.0120.00618.43
8.3.60.0060.00916.50
8.3.50.0160.01021.21
8.3.40.0110.00418.84
8.3.30.0070.00718.83
8.3.20.0040.00420.31
8.3.10.0050.00321.86
8.3.00.0040.00418.04
8.2.300.0110.00820.37
8.2.290.0080.01020.36
8.2.280.0120.00918.55
8.2.270.0090.00917.37
8.2.260.0030.01516.67
8.2.250.0040.00416.68
8.2.240.0030.01517.22
8.2.230.0000.00922.58
8.2.220.0030.00637.54
8.2.210.0110.00726.77
8.2.200.0060.00316.50
8.2.190.0090.00616.63
8.2.180.0150.00416.63
8.2.170.0130.00322.96
8.2.160.0070.01021.02
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00720.39
8.2.120.0060.00326.35
8.2.110.0060.00322.12
8.2.100.0120.00017.84
8.2.90.0050.00322.15
8.2.80.0060.00317.97
8.2.70.0040.00417.93
8.2.60.0060.00317.78
8.2.50.0050.00318.10
8.2.40.0030.00622.32
8.2.30.0050.00319.32
8.2.20.0000.00717.96
8.2.10.0090.00018.30
8.2.00.0030.00518.24
8.1.340.0120.01017.71
8.1.330.0070.00821.85
8.1.320.0080.01016.08
8.1.310.0000.00716.84
8.1.300.0080.00016.88
8.1.290.0060.00318.88
8.1.280.0120.00325.92
8.1.270.0070.00023.91
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0040.00722.42
8.1.230.0080.00420.96
8.1.220.0000.00717.74
8.1.210.0080.00018.90
8.1.200.0000.00817.47
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0030.00518.51
8.1.160.0000.00818.89
8.1.150.0050.00320.14
8.1.140.0040.00419.49
8.1.130.0070.00019.07
8.1.120.0030.00517.49
8.1.110.0040.00417.41
8.1.100.0050.00517.43
8.1.90.0030.00317.35
8.1.80.0040.00417.41
8.1.70.0000.00717.37
8.1.60.0040.00417.57
8.1.50.0050.00517.59
8.1.40.0040.00417.54
8.1.30.0000.00817.62
8.1.20.0000.00817.50
8.1.10.0070.00017.45
8.1.00.0000.00717.38
8.0.300.0050.00319.98
8.0.290.0000.00816.75
8.0.280.0080.00018.43
8.0.270.0000.00717.23
8.0.260.0030.00319.05
8.0.250.0040.00416.86
8.0.240.0040.00416.87
8.0.230.0000.00916.82
8.0.220.0000.00716.86
8.0.210.0030.00316.80
8.0.200.0000.00617.02
8.0.190.0040.00417.00
8.0.180.0000.00816.86
8.0.170.0000.00716.99
8.0.160.0000.00716.90
8.0.150.0050.00316.80
8.0.140.0040.00416.89
8.0.130.0000.00513.29
8.0.120.0070.00016.88
8.0.110.0040.00416.83
8.0.100.0000.00716.73
8.0.90.0040.00416.81
8.0.80.0060.01116.93
8.0.70.0040.00416.76
8.0.60.0040.00416.99
8.0.50.0000.00816.89
8.0.30.0090.00817.15
8.0.20.0070.01317.40
8.0.10.0030.00617.13
8.0.00.0110.00816.80
7.4.330.0060.00015.55
7.4.320.0060.00016.51
7.4.300.0000.00616.64
7.4.290.0000.00716.44
7.4.280.0000.00816.54
7.4.270.0030.00316.52
7.4.260.0030.00313.21
7.4.250.0080.00016.35
7.4.240.0070.00016.45
7.4.230.0040.00416.34
7.4.220.0040.01316.45
7.4.210.0090.00716.55
7.4.200.0000.00716.63
7.4.160.0100.00616.43
7.4.150.0060.01117.40
7.4.140.0100.01117.86
7.4.130.0070.01216.57
7.4.120.0140.00816.54
7.4.110.0180.00016.52
7.4.100.0140.00316.50
7.4.90.0120.01016.38
7.4.80.0000.01919.39
7.4.70.0040.01416.51
7.4.60.0100.00716.58
7.4.50.0070.01016.59
7.4.40.0060.01716.44
7.4.30.0060.00916.59
7.4.00.0100.00615.21
7.3.330.0060.00013.30
7.3.320.0000.00513.37
7.3.310.0030.00316.24
7.3.300.0070.00016.34
7.3.290.0000.00716.30
7.3.280.0110.00816.30
7.3.270.0080.00817.40
7.3.260.0140.00716.56
7.3.250.0070.01116.34
7.3.240.0140.00816.47
7.3.230.0100.00716.39
7.3.210.0000.01616.54
7.3.200.0070.01416.43
7.3.190.0070.01316.58
7.3.180.0060.01016.48
7.3.170.0190.00616.44
7.3.160.0120.01016.36
7.2.330.0090.00916.66
7.2.320.0100.00816.58
7.2.310.0140.00816.74
7.2.300.0090.01016.77
7.2.290.0060.01016.75
7.2.60.0090.00616.79
7.2.00.0070.00719.04
7.1.200.0030.00915.54
7.1.70.0080.00017.08
7.1.60.0140.00317.02
7.1.50.0040.00816.79
7.1.40.0070.00416.73
7.1.30.0080.00416.68
7.1.20.0030.00916.67
7.1.10.0000.00816.63
7.1.00.0020.00516.54
7.0.200.0000.00916.75
7.0.190.0060.00316.73
7.0.180.0000.00916.31
7.0.170.0000.00816.44
7.0.160.0000.00716.23
7.0.150.0000.00816.28
7.0.140.0030.01316.30
7.0.130.0070.00716.29
7.0.120.0000.00816.38
7.0.110.0000.01216.55
7.0.100.0030.00916.33
7.0.90.0040.01216.33
7.0.80.0050.00316.32
7.0.70.0030.00616.34
7.0.60.0000.00816.23
7.0.50.0030.00616.30
7.0.40.0030.00714.70
7.0.30.0030.00514.70
7.0.20.0040.00414.70
7.0.10.0040.00414.70
7.0.00.0050.00514.70

preferences:
116 ms | 1506 KiB | 5 Q