3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test(.../*Comment*/$foo) { echo '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.0140.00716.47
8.3.50.0040.01117.98
8.3.40.0090.00618.63
8.3.30.0170.00018.54
8.3.20.0040.00421.53
8.3.10.0080.00021.82
8.3.00.0040.00417.80
8.2.180.0150.00018.42
8.2.170.0150.00322.96
8.2.160.0100.00320.22
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0090.00018.95
8.2.110.0000.01020.89
8.2.100.0030.00917.66
8.2.90.0030.00619.32
8.2.80.0090.00019.77
8.2.70.0030.00517.91
8.2.60.0060.00317.80
8.2.50.0000.00818.10
8.2.40.0050.00220.55
8.2.30.0000.00719.19
8.2.20.0040.00417.96
8.2.10.0050.00317.91
8.2.00.0040.00417.79
8.1.280.0060.00925.92
8.1.270.0050.00322.12
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.89
8.1.230.0070.00422.72
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00817.11
8.1.190.0000.00817.00
8.1.180.0000.00718.10
8.1.170.0030.00518.73
8.1.160.0080.00018.81
8.1.150.0000.00818.92
8.1.140.0070.00017.55
8.1.130.0030.00318.95
8.1.120.0000.00817.32
8.1.110.0030.00617.24
8.1.100.0040.00417.32
8.1.90.0070.00017.32
8.1.80.0000.00817.32
8.1.70.0000.01017.30
8.1.60.0050.00217.52
8.1.50.0080.00017.33
8.1.40.0030.00717.43
8.1.30.0000.01117.54
8.1.20.0090.00017.53
8.1.10.0000.00917.57
8.1.00.0000.00817.33
8.0.300.0000.00719.93
8.0.290.0000.00816.63
8.0.280.0030.00318.45
8.0.270.0030.00317.24
8.0.260.0000.00617.23
8.0.250.0030.00516.89
8.0.240.0040.00416.89
8.0.230.0020.00516.87
8.0.220.0020.00516.73
8.0.210.0070.00016.84
8.0.200.0070.00016.89
8.0.190.0040.00416.86
8.0.180.0000.00716.86
8.0.170.0060.00316.84
8.0.160.0080.00016.84
8.0.150.0030.00616.82
8.0.140.0000.00716.65
8.0.130.0050.00013.23
8.0.120.0050.00316.65
8.0.110.0070.00016.84
8.0.100.0040.00416.78
8.0.90.0070.00016.73
8.0.80.0040.01116.84
8.0.70.0030.00516.70
8.0.60.0050.00316.60
8.0.50.0040.00416.76
8.0.30.0090.00816.95
8.0.20.0090.00917.40
8.0.10.0050.00216.93
8.0.00.0070.01016.54
7.4.330.0030.00315.55
7.4.320.0060.00016.49
7.4.300.0030.00316.46
7.4.290.0000.00816.61
7.4.280.0040.00416.47
7.4.270.0030.00316.61
7.4.260.0030.00316.49
7.4.250.0080.00016.54
7.4.240.0000.00816.52
7.4.230.0030.00316.34
7.4.220.0030.00516.52
7.4.210.0070.00716.56
7.4.200.0000.00716.62
7.4.160.0100.00716.38
7.4.140.0120.00817.86
7.4.130.0070.01016.56
7.4.120.0090.01316.47
7.4.110.0130.01016.35
7.4.100.0060.01016.31
7.4.90.0040.01916.40
7.4.80.0130.00619.39
7.4.70.0120.00916.38
7.4.60.0060.00916.33
7.4.50.0030.01216.34
7.4.40.0190.00616.43
7.4.00.0090.00515.01
7.3.330.0050.00013.09
7.3.320.0030.00313.14
7.3.310.0000.00716.13
7.3.300.0060.00016.11
7.3.290.0000.00716.10
7.3.280.0050.01216.19
7.3.260.0130.00616.49
7.3.240.0090.00816.41
7.3.230.0130.00616.57
7.3.210.0120.00616.31
7.3.200.0040.01116.15
7.3.190.0130.00316.20
7.3.180.0090.00616.25
7.3.170.0160.00016.43
7.3.160.0130.00316.53
7.3.120.0120.00614.71
7.3.110.0040.01114.53
7.3.100.0070.01014.62
7.3.90.0110.00014.50
7.3.80.0090.00614.66
7.3.70.0060.00314.76
7.3.60.0060.00314.90
7.3.50.0080.00614.72
7.3.40.0040.01114.61
7.3.30.0090.00614.90
7.3.20.0070.00716.62
7.3.10.0000.00916.57
7.3.00.0040.01116.66
7.2.330.0160.00016.41
7.2.320.0060.01216.73
7.2.310.0090.00916.34
7.2.300.0120.00616.66
7.2.290.0180.00316.38
7.2.250.0100.01014.84
7.2.240.0070.01415.09
7.2.230.0060.01315.07
7.2.220.0000.00915.15
7.2.210.0070.00714.93
7.2.200.0060.00314.79
7.2.190.0030.01314.80
7.2.180.0060.01014.78
7.2.170.0000.01715.06
7.2.60.0060.00616.71
7.2.40.0530.00817.86
7.2.30.0600.01117.88
7.2.20.0800.01117.93
7.2.10.0550.00917.82
7.2.00.0590.00717.78
7.1.330.0120.00315.68
7.1.320.0070.00715.89
7.1.310.0030.01015.62
7.1.300.0030.00615.48
7.1.290.0030.00915.29
7.1.280.0040.01115.62
7.1.270.0070.00315.29
7.1.260.0080.00015.70
7.1.200.0060.00615.57
7.1.160.1100.01116.74
7.1.150.0550.00716.61
7.1.140.0530.00716.96
7.1.130.0690.01416.57
7.1.120.0500.00916.76
7.1.110.0510.01016.23
7.1.100.0640.00915.87
7.1.90.0580.00816.27
7.1.80.0580.01016.16
7.1.70.0600.00615.34
7.1.60.0780.01233.15
7.1.50.1130.01132.94
7.1.40.1470.01132.66
7.1.30.1260.01432.74
7.1.20.1180.01232.86
7.1.10.1080.01014.37
7.1.00.0930.01114.85

preferences:
63.67 ms | 400 KiB | 5 Q