3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test( array $arr ){ print_r($arr); } //is working 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.00016.63
8.3.50.0110.00417.87
8.3.40.0070.00718.80
8.3.30.0100.00318.77
8.3.20.0040.00420.04
8.3.10.0050.00323.66
8.3.00.0080.00019.25
8.2.180.0070.00716.88
8.2.170.0110.00322.96
8.2.160.0130.00020.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00817.50
8.2.120.0060.00326.35
8.2.110.0070.00319.17
8.2.100.0030.00917.80
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0060.00617.80
8.2.50.0040.00418.07
8.2.40.0030.00619.34
8.2.30.0000.00720.67
8.2.20.0060.00317.67
8.2.10.0000.00918.05
8.2.00.0000.00717.84
8.1.280.0090.00925.92
8.1.270.0050.00522.16
8.1.260.0050.00228.09
8.1.250.0040.00428.09
8.1.240.0040.00419.01
8.1.230.0090.00317.64
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0090.00017.13
8.1.190.0050.00317.10
8.1.180.0060.00618.10
8.1.170.0060.00320.07
8.1.160.0040.00421.94
8.1.150.0040.00418.76
8.1.140.0080.00019.43
8.1.130.0070.00017.51
8.1.120.0050.00217.34
8.1.110.0000.00717.35
8.1.100.0050.00317.19
8.1.90.0000.00717.29
8.1.80.0040.00417.34
8.1.70.0000.00717.35
8.1.60.0040.00417.51
8.1.50.0000.00817.43
8.1.40.0030.00617.41
8.1.30.0030.00517.45
8.1.20.0040.00417.46
8.1.10.0030.00617.39
8.1.00.0000.00817.48
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0000.00818.29
8.0.270.0030.00517.14
8.0.260.0000.00617.10
8.0.250.0000.00716.95
8.0.240.0040.00416.97
8.0.230.0000.00716.95
8.0.220.0060.00316.88
8.0.210.0000.00716.84
8.0.200.0060.00016.95
8.0.190.0000.00716.93
8.0.180.0040.00416.92
8.0.170.0000.00816.89
8.0.160.0000.00716.77
8.0.150.0050.00316.91
8.0.140.0070.00016.85
8.0.130.0030.00313.27
8.0.120.0050.00316.76
8.0.110.0070.00016.71
8.0.100.0020.00516.78
8.0.90.0000.00716.85
8.0.80.0060.00916.85
8.0.70.0060.00316.67
8.0.60.0000.00716.73
8.0.50.0040.00416.73
8.0.30.0130.00417.11
8.0.20.0100.01517.40
8.0.10.0040.00416.80
8.0.00.0100.01116.66
7.4.330.0050.00016.85
7.4.320.0070.00016.50
7.4.300.0000.00616.47
7.4.290.0030.00316.53
7.4.280.0030.00516.51
7.4.270.0000.00716.54
7.4.260.0030.00316.50
7.4.250.0040.00416.44
7.4.240.0000.00716.47
7.4.230.0070.00016.61
7.4.220.0030.01516.45
7.4.210.0040.01116.41
7.4.200.0030.00316.33
7.4.160.0090.01216.42
7.4.150.0130.00317.40
7.4.140.0120.00717.86
7.4.130.0060.01416.47
7.4.120.0090.00916.50
7.4.110.0130.00316.48
7.4.100.0090.01016.37
7.4.90.0080.00816.24
7.4.80.0090.01319.39
7.4.70.0060.01016.66
7.4.60.0060.00916.43
7.4.50.0070.01016.38
7.4.40.0030.01316.47
7.4.30.0070.01016.31
7.4.00.0040.01115.00
7.3.330.0000.00913.21
7.3.320.0000.00513.08
7.3.310.0070.00016.26
7.3.300.0070.00016.30
7.3.290.0030.00316.31
7.3.280.0110.00716.32
7.3.270.0070.01017.40
7.3.260.0040.01216.49
7.3.250.0110.00716.34
7.3.240.0080.01116.47
7.3.230.0140.00316.51
7.3.210.0100.00616.46
7.3.200.0100.00716.39
7.3.190.0180.00016.39
7.3.180.0100.00616.48
7.3.170.0110.00816.45
7.3.160.0060.01016.26
7.2.330.0110.00716.58
7.2.320.0110.01116.62
7.2.310.0030.01416.54
7.2.300.0140.00316.59
7.2.290.0040.01416.59
7.2.60.0090.00616.87
7.2.00.0080.01219.08
7.1.200.0070.00715.35
7.1.100.0110.00318.14
7.1.70.0040.00417.13
7.1.60.0120.00619.36
7.1.50.0040.01216.87
7.1.00.0030.07322.44
7.0.200.0080.00016.70
7.0.60.0030.04019.81
7.0.50.0130.07317.89
7.0.40.0100.04719.96
7.0.30.0370.04320.07
7.0.20.0200.05020.12
7.0.10.0130.08320.16
7.0.00.0100.08020.14
5.6.280.0030.04721.12
5.6.210.0100.07720.50
5.6.200.0030.08318.22
5.6.190.0100.08320.46
5.6.180.0470.03720.48
5.6.170.0270.08720.55
5.6.160.0170.07320.48
5.6.150.0030.06718.22
5.6.140.0130.05018.25
5.6.130.0100.07718.27
5.6.120.0170.06720.97
5.6.110.0030.05021.00
5.6.100.0070.08721.00
5.6.90.0200.06720.98
5.6.80.0130.03320.38
5.5.350.4370.03720.43
5.5.340.0100.08017.94
5.5.330.0170.07720.47
5.5.320.0070.08020.34
5.5.310.0270.04320.27
5.5.300.0000.04317.98
5.5.290.0070.06717.95
5.5.280.0070.08020.89
5.5.270.0070.04020.79
5.5.260.0130.04320.61
5.5.250.0070.05320.50
5.5.240.0230.02720.15

preferences:
44.91 ms | 400 KiB | 5 Q