3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr=array(); $arr[0]['id']='123'; $arr[0]['otherdatas']=''; $arr[1]['id']='234'; $arr[1]['otherdatas']=''; $arr[2]['id']='567'; echo implode(',',array_column($arr,'id'));

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.4.120.0100.01122.21
8.4.110.0050.00518.59
8.4.100.0120.00817.86
8.4.90.0070.00120.51
8.4.80.0130.00717.68
8.4.70.0060.00217.55
8.4.60.0110.00823.92
8.4.50.0100.00917.84
8.4.40.0030.01619.42
8.4.30.0110.00817.43
8.4.20.0160.00319.52
8.4.10.0160.00419.49
8.3.250.0140.00518.85
8.3.240.0130.00818.61
8.3.230.0150.00416.46
8.3.220.0090.01018.88
8.3.210.0120.00618.38
8.3.200.0050.00416.64
8.3.190.0090.00918.28
8.3.180.0110.00516.26
8.3.170.0070.00017.09
8.3.160.0130.00618.36
8.3.150.0110.00416.96
8.3.140.0130.00616.48
8.3.130.0070.00416.34
8.3.120.0050.00518.23
8.3.110.0080.00816.75
8.3.100.0060.00318.37
8.3.90.0160.00319.96
8.3.80.0090.00018.56
8.3.70.0150.00616.38
8.3.60.0090.00618.31
8.3.50.0200.01117.45
8.3.40.0090.00618.69
8.3.30.0070.00718.59
8.3.20.0070.00021.82
8.3.10.0040.00423.54
8.3.00.0050.00321.91
8.2.290.0110.00716.32
8.2.280.0130.00618.39
8.2.270.0180.00017.27
8.2.260.0040.00419.05
8.2.250.0060.00318.58
8.2.240.0090.00017.16
8.2.230.0040.00720.94
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0030.00716.57
8.2.190.0170.00316.58
8.2.180.0140.00318.29
8.2.170.0040.01122.96
8.2.160.0190.00019.27
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00318.95
8.2.110.0150.00621.83
8.2.100.0060.00617.91
8.2.90.0050.00320.64
8.2.80.0050.00317.97
8.2.70.0000.00918.05
8.2.60.0000.00817.93
8.2.50.0050.00318.14
8.2.40.0040.00420.64
8.2.30.0040.00419.18
8.2.20.0080.00018.02
8.2.10.0030.00518.08
8.2.00.0040.00418.28
8.1.330.0110.00818.39
8.1.320.0120.00716.28
8.1.310.0060.01216.82
8.1.300.0120.00418.25
8.1.290.0030.00618.88
8.1.280.0100.01025.92
8.1.270.0040.00421.89
8.1.260.0000.00926.35
8.1.250.0040.00428.09
8.1.240.0000.00922.60
8.1.230.0000.01220.79
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0050.00317.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0080.00018.48
8.1.160.0050.00318.82
8.1.150.0040.00418.81
8.1.140.0000.00719.08
8.1.130.0030.00317.63
8.1.120.0030.00317.43
8.1.110.0040.00417.40
8.1.100.0050.00317.34
8.1.90.0000.00817.27
8.1.80.0020.00517.34
8.1.70.0040.00417.37
8.1.60.0000.00917.49
8.1.50.0040.00417.40
8.1.40.0040.00417.38
8.1.30.0030.00617.54
8.1.20.0050.00317.47
8.1.10.0040.00417.49
8.1.00.0000.00817.51
8.0.300.0000.00719.94
8.0.290.0070.00416.63
8.0.280.0000.00718.43
8.0.270.0000.00717.25
8.0.260.0000.00617.16
8.0.250.0000.00716.97
8.0.240.0030.00616.93
8.0.230.0040.00416.75
8.0.220.0000.00716.78
8.0.210.0030.00316.68
8.0.200.0030.00316.89
8.0.190.0040.00416.82
8.0.180.0040.00416.72
8.0.170.0030.00516.75
8.0.160.0000.00716.78
8.0.150.0040.00416.73
8.0.140.0050.00216.78
8.0.130.0000.00713.20
8.0.120.0000.00816.65
8.0.110.0000.00716.73
8.0.100.0050.00316.74
8.0.90.0040.00416.80
8.0.80.0040.01116.78
8.0.70.0000.00716.68
8.0.60.0030.00516.86
8.0.50.0040.00416.68
8.0.30.0060.01117.08
8.0.20.0120.00917.40
8.0.10.0060.00316.94
8.0.00.0120.01016.76
7.4.330.0000.00615.55
7.4.320.0000.00616.42
7.4.300.0030.00616.54
7.4.290.0040.00416.43
7.4.280.0000.00716.50
7.4.270.0000.00616.43
7.4.260.0040.00416.51
7.4.250.0040.00416.49
7.4.240.0030.00316.53
7.4.230.0030.00316.61
7.4.220.0030.00316.34
7.4.210.0100.00716.38
7.4.200.0000.00716.32
7.4.160.0070.01116.45
7.4.150.0060.01217.40
7.4.140.0130.00917.86
7.4.130.0170.00716.40
7.4.120.0110.01116.44
7.4.110.0080.01216.37
7.4.100.0100.00616.57
7.4.90.0060.01216.46
7.4.80.0100.00717.88
7.4.70.0040.01216.53
7.4.60.0060.01116.43
7.4.50.0060.01116.47
7.4.40.0120.00516.28
7.4.30.0090.00616.34
7.4.20.0100.01016.48
7.4.10.0140.00416.39
7.4.00.0130.00315.67
7.3.330.0000.00513.09
7.3.320.0060.00013.03
7.3.310.0040.00416.28
7.3.300.0030.00316.18
7.3.290.0070.00016.30
7.3.280.0060.00816.23
7.3.270.0090.00917.40
7.3.260.0100.01016.36
7.3.250.0090.00916.36
7.3.240.0160.00616.34
7.3.230.0100.00616.23
7.3.210.0090.00616.13
7.3.200.0120.00516.29
7.3.190.0090.00716.26
7.3.180.0070.01016.29
7.3.170.0110.00816.25
7.3.160.0070.01016.47
7.3.150.0080.01116.37
7.3.140.0090.01216.37
7.3.130.0120.00916.46
7.3.120.0120.00616.35
7.3.110.0070.01116.09
7.3.100.0040.01616.38
7.3.90.0100.00616.42
7.3.80.0110.00516.51
7.3.70.0040.01416.34
7.3.60.0080.00816.21
7.3.50.0130.00316.27
7.3.40.0080.00816.37
7.3.30.0090.00816.36
7.3.20.0160.00316.35
7.3.10.0100.01416.25
7.3.00.0130.00916.15
7.2.330.0030.01416.70
7.2.320.0090.00916.52
7.2.310.0110.00716.63
7.2.300.0080.00916.40
7.2.290.0130.00816.60
7.2.280.0090.01316.63
7.2.270.0090.00916.73
7.2.260.0120.00416.49
7.2.250.0150.00316.75
7.2.240.0110.00816.57
7.2.230.0140.00416.49
7.2.220.0070.01016.77
7.2.210.0070.01016.41
7.2.200.0140.00316.42
7.2.190.0080.01416.71
7.2.180.0120.00416.61
7.2.170.0110.00616.53
7.2.160.0100.00716.80
7.2.150.0000.01716.61
7.2.140.0090.00916.60
7.2.130.0160.00716.66
7.2.120.0090.00916.53
7.2.110.0210.00916.63
7.2.100.0090.01216.67
7.2.90.0180.00016.84
7.2.80.0070.01016.75
7.2.70.0120.00616.51
7.2.60.0240.00916.67
7.2.50.0060.01316.53
7.2.40.0110.00816.71
7.2.30.0190.01116.63
7.2.20.0090.00916.55
7.2.10.0090.01317.08
7.2.00.0080.01517.05
7.1.330.0190.01115.59
7.1.320.0210.01115.70
7.1.310.0290.00015.69
7.1.300.0240.00715.57
7.1.290.0240.00515.49
7.1.280.0250.00715.54
7.1.270.0210.00815.49
7.1.260.0230.00915.54
7.1.250.0240.00915.66
7.1.240.0240.01115.44
7.1.230.0270.00815.47
7.1.220.0250.00815.58
7.1.210.0200.01415.55
7.1.200.0130.00715.54
7.1.190.0300.00715.49
7.1.180.0220.01115.48
7.1.170.0350.00915.40
7.1.160.0290.00715.36
7.1.150.0260.01115.46
7.1.140.0350.00815.59
7.1.130.0230.01015.55
7.1.120.0160.01016.03
7.1.110.0200.00615.66
7.1.100.0210.00515.80
7.1.90.0190.00816.00
7.1.80.0160.01115.88
7.1.70.0240.00815.42
7.1.60.0260.01024.21
7.1.50.0200.00724.28
7.1.40.0190.00924.10
7.1.30.0220.01224.10
7.1.20.0190.01024.03
7.1.10.0100.01215.13
7.1.00.0110.01015.12
7.0.330.0210.01415.32
7.0.320.0310.00315.05
7.0.310.0320.00815.16
7.0.300.0310.00315.39
7.0.290.0240.00615.26
7.0.280.0180.01515.24
7.0.270.0170.01415.29
7.0.260.0240.00615.12
7.0.250.0290.00015.21
7.0.240.0700.00015.35
7.0.230.0240.00715.13
7.0.220.0270.00315.35
7.0.210.0160.01015.13
7.0.200.0220.00915.11
7.0.190.0130.00915.23
7.0.180.0130.00915.19
7.0.170.0130.01015.31
7.0.160.0050.01415.17
7.0.150.0150.00915.26
7.0.140.0100.01015.21
7.0.130.0110.00715.17
7.0.120.0320.01015.16
7.0.110.0120.00615.22
7.0.100.0140.00615.29
7.0.90.0090.00915.08
7.0.80.0050.01615.11
7.0.70.0150.00515.27
7.0.60.0090.01215.16
7.0.50.0150.00315.13
7.0.40.0100.01114.95
7.0.30.0210.00615.10
7.0.20.0130.00615.19
7.0.10.0090.00915.20
7.0.00.0090.00914.97
5.6.400.0200.01216.17
5.6.390.0260.00715.89
5.6.380.0200.01116.11
5.6.370.0260.00915.82
5.6.360.0320.00615.85
5.6.350.0230.01316.11
5.6.340.0260.00716.20
5.6.330.0240.01416.02
5.6.320.0220.00915.79
5.6.310.0130.01715.95
5.6.300.0140.01116.03
5.6.290.0160.00616.20
5.6.280.0200.00315.74
5.6.270.0080.01216.08
5.6.260.0080.01615.88
5.6.250.0160.00616.01
5.6.240.0160.01016.06
5.6.230.0060.01915.82
5.6.220.0030.01715.96
5.6.210.0130.01316.13
5.6.200.0160.00815.92
5.6.190.0080.01916.04
5.6.180.0030.02015.99
5.6.170.0120.01215.86
5.6.160.0120.00915.96
5.6.150.0120.00915.99
5.6.140.0040.01616.21
5.6.130.0080.01215.96
5.6.120.0120.00815.98
5.6.110.0100.01015.72
5.6.100.0170.00815.90
5.6.90.0090.01015.87
5.6.80.0130.00715.88
5.6.70.0030.01816.13
5.6.60.0040.02115.91
5.6.50.0100.01415.97
5.6.40.0100.01615.76
5.6.30.0220.00015.88
5.6.20.0070.01316.00
5.6.10.0000.02115.96
5.6.00.0100.01315.86

preferences:
123.22 ms | 403 KiB | 5 Q