3v4l.org

run code in 300+ PHP versions simultaneously
<?php $samples=array( array('page' => 'page1', 'name' => 'pagename1'), array('page' => 'page2', 'name' => 'pagename2'), array('page' => 'page3', 'name' => 'pagename3') ); $names = array_column($samples, 'name'); print_r($names);

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.20.0140.00717.75
8.4.10.0030.01717.22
8.3.150.0090.00916.57
8.3.140.0090.00016.40
8.3.130.0040.00418.12
8.3.120.0000.01018.73
8.3.110.0030.00616.78
8.3.100.0090.00016.24
8.3.90.0070.00726.77
8.3.80.0000.00916.49
8.3.70.0190.00318.13
8.3.60.0120.00316.63
8.3.50.0050.00921.99
8.3.40.0160.00318.59
8.3.30.0080.00618.97
8.3.20.0020.00520.27
8.3.10.0080.00023.66
8.3.00.0040.00419.69
8.2.260.0050.00316.77
8.2.250.0060.00316.73
8.2.240.0090.00917.13
8.2.230.0030.00620.94
8.2.220.0090.00324.06
8.2.210.0040.01426.77
8.2.200.0110.00016.38
8.2.190.0120.00316.58
8.2.180.0150.00316.36
8.2.170.0120.00318.55
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0070.00720.95
8.2.110.0130.00420.57
8.2.100.0040.00817.53
8.2.90.0000.00819.18
8.2.80.0080.00020.41
8.2.70.0030.00517.93
8.2.60.0040.00417.91
8.2.50.0040.00418.10
8.2.40.0040.00419.28
8.2.30.0080.00017.88
8.2.20.0000.00717.62
8.2.10.0030.00317.92
8.2.00.0050.00317.59
8.1.310.0070.00018.29
8.1.300.0040.00718.42
8.1.290.0060.00330.84
8.1.280.0130.00325.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0100.00728.09
8.1.240.0080.00421.97
8.1.230.0060.00621.00
8.1.220.0000.00717.76
8.1.210.0080.00018.85
8.1.200.0030.00617.35
8.1.190.0060.00316.98
8.1.180.0060.00318.10
8.1.170.0040.00418.57
8.1.160.0060.00320.61
8.1.150.0040.00418.53
8.1.140.0040.00417.38
8.1.130.0000.00817.29
8.1.120.0070.00017.45
8.1.110.0060.00317.37
8.1.100.0040.00417.31
8.1.90.0020.00517.29
8.1.80.0020.00517.42
8.1.70.0030.00517.38
8.1.60.0060.00317.41
8.1.50.0020.00517.33
8.1.40.0060.00317.45
8.1.30.0030.00617.64
8.1.20.0040.00417.48
8.1.10.0000.00717.45
8.1.00.0030.00517.36
8.0.300.0040.00420.12
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0060.00316.77
8.0.260.0000.00716.74
8.0.250.0000.00716.76
8.0.240.0030.00316.82
8.0.230.0000.00716.73
8.0.220.0030.00316.72
8.0.210.0030.00316.77
8.0.200.0000.00616.95
8.0.190.0070.00016.90
8.0.180.0060.00316.74
8.0.170.0000.00716.88
8.0.160.0000.00716.87
8.0.150.0000.00816.77
8.0.140.0030.00616.68
8.0.130.0000.00513.21
8.0.120.0000.00716.73
8.0.110.0010.00716.77
8.0.100.0040.00416.74
8.0.90.0040.00416.88
8.0.80.0110.00416.82
8.0.70.0120.00816.71
8.0.60.0080.00816.76
8.0.50.0000.01716.71
8.0.30.0100.00816.84
8.0.20.0100.01016.97
8.0.10.0080.00916.94
8.0.00.0080.01016.85
7.4.330.0000.00515.06
7.4.320.0030.00316.53
7.4.300.0060.00016.44
7.4.290.0000.00616.42
7.4.280.0040.00416.42
7.4.270.0000.00716.50
7.4.260.0070.00016.43
7.4.250.0000.00716.53
7.4.240.0000.00716.36
7.4.230.0000.00716.50
7.4.220.0070.01716.39
7.4.210.0100.00816.53
7.4.200.0120.00816.50
7.4.190.0190.00016.60
7.4.180.0120.00416.60
7.4.160.0070.00916.53
7.4.150.0070.00816.57
7.4.140.0100.00716.69
7.4.130.0120.00616.34
7.4.120.0080.00916.32
7.4.110.0100.00816.32
7.4.100.0090.01016.42
7.4.90.0070.01116.35
7.4.80.0080.00916.55
7.4.70.0080.00816.33
7.4.60.0090.00816.26
7.4.50.0080.00916.22
7.4.40.0090.01016.25
7.4.30.0100.00716.34
7.4.20.0080.01016.33
7.4.10.0110.01016.27
7.4.00.0080.00916.23
7.3.330.0000.00512.87
7.3.320.0030.00312.99
7.3.310.0000.00716.15
7.3.300.0060.00016.17
7.3.290.0080.00716.16
7.3.280.0120.00316.17
7.3.270.0080.00916.25
7.3.260.0090.00816.13
7.3.250.0080.01016.12
7.3.240.0090.00816.17
7.3.230.0080.00916.14
7.3.220.0100.00816.08
7.3.210.0080.00916.08
7.3.200.0080.00916.40
7.3.190.0090.00816.10
7.3.180.0080.00916.02
7.3.170.0080.00916.10
7.3.160.0090.00916.08
7.3.150.0080.00916.10
7.3.140.0090.00816.08
7.3.130.0080.00816.10
7.3.120.0090.00816.00
7.3.110.0080.01016.01
7.3.100.0100.00716.08
7.3.90.0090.00816.27
7.3.80.0070.00916.08
7.3.70.0080.00716.13
7.3.60.0090.00916.20
7.3.50.0120.00716.18
7.3.40.0080.00816.22
7.3.30.0070.00816.20
7.3.20.0110.00716.23
7.3.10.0100.00916.17
7.3.00.0200.00616.20
7.2.340.0180.00916.25
7.2.330.0190.00816.33
7.2.320.0170.01016.23
7.2.310.0170.01016.25
7.2.300.0230.00916.28
7.2.290.0170.01116.26
7.2.280.0130.01216.27
7.2.270.0180.00916.29
7.2.260.0180.01016.30
7.2.250.0180.00916.23
7.2.240.0190.00816.26
7.2.230.0170.00916.24
7.2.220.0150.01016.22
7.2.210.0140.01016.25
7.2.200.0200.01116.35
7.2.190.0200.01116.35
7.2.180.0210.00916.31
7.2.170.0180.01016.36
7.2.160.0170.00916.37
7.2.150.0180.00916.42
7.2.140.0170.00916.46
7.2.130.0200.00816.53
7.2.120.0250.01016.44
7.2.110.0180.00816.45
7.2.100.0170.01016.48
7.2.90.0180.00916.30
7.2.80.0180.01016.32
7.2.70.0170.00916.34
7.2.60.0220.00916.34
7.2.50.0210.01016.26
7.2.40.0530.00516.32
7.2.30.0420.00916.51
7.2.20.0400.00916.52
7.2.10.0390.00916.50
7.2.00.0430.01016.69
7.1.330.0180.00815.46
7.1.320.0200.00815.49
7.1.310.0170.00815.45
7.1.300.0220.00915.51
7.1.290.0210.00815.42
7.1.280.0180.01115.43
7.1.270.0180.00915.45
7.1.260.0180.00715.42
7.1.250.0190.01015.38
7.1.240.0270.00815.42
7.1.230.0240.00915.40
7.1.220.0200.00715.39
7.1.210.0180.00915.27
7.1.200.0340.01115.35
7.1.190.0300.00915.27
7.1.180.0180.00815.23
7.1.170.0220.00815.21
7.1.160.0550.00815.27
7.1.150.0400.00815.41
7.1.140.0470.00715.36
7.1.130.0420.01015.39
7.1.120.0360.00815.46
7.1.110.0350.00715.62
7.1.100.0490.00915.58
7.1.90.0570.01015.64
7.1.80.0580.00815.65
7.1.70.0510.00815.43
7.1.60.0460.01019.41
7.1.50.0400.01019.35
7.1.40.0440.00919.32
7.1.30.0410.01119.26
7.1.20.0550.00919.25
7.1.10.0300.00915.42
7.1.00.0280.00715.40
7.0.330.0170.00915.07
7.0.320.0180.00815.06
7.0.310.0190.00914.88
7.0.300.0260.00714.95
7.0.290.0440.00714.94
7.0.280.0460.00815.11
7.0.270.0420.00615.08
7.0.260.0370.00715.02
7.0.250.0300.01215.40
7.0.240.0490.00915.40
7.0.230.0620.00815.42
7.0.220.0620.01015.33
7.0.210.0530.00715.28
7.0.200.0440.00815.20
7.0.190.0360.01015.25
7.0.180.0360.00915.14
7.0.170.0400.01015.18
7.0.160.0390.00815.13
7.0.150.0270.00815.12
7.0.140.0480.00715.14
7.0.130.0240.00715.20
7.0.120.0300.00815.24
7.0.110.0260.00715.09
7.0.100.0300.00715.18
7.0.90.0300.00615.08
7.0.80.0330.00915.11
7.0.70.0370.00715.10
7.0.60.0360.00815.15
7.0.50.0320.00915.09
7.0.40.0380.00815.15
7.0.30.0330.00915.21
7.0.20.0280.00815.16
7.0.10.0230.00815.19
7.0.00.0250.00815.11
5.6.400.0180.00815.75
5.6.390.0160.01015.73
5.6.380.0170.00915.74
5.6.370.0160.01215.70
5.6.360.0170.01015.77
5.6.350.0140.01115.75
5.6.340.0190.00715.68
5.6.330.0180.00815.66
5.6.320.0190.01015.70
5.6.310.0170.01115.74
5.6.300.0140.01916.31
5.6.290.0160.01816.31
5.6.280.0170.01616.33
5.6.270.0170.01716.34
5.6.260.0170.01716.33
5.6.250.0160.01616.31
5.6.240.0130.02016.34
5.6.230.0160.01716.38
5.6.220.0160.01716.37
5.6.210.0160.01816.42
5.6.200.0170.01816.37
5.6.190.0160.01716.45
5.6.180.0160.01916.40
5.6.170.0150.01716.46
5.6.160.0160.01816.46
5.6.150.0170.01916.47
5.6.140.0160.01616.46
5.6.130.0170.01816.42
5.6.120.0150.01816.47
5.6.110.0140.01816.36
5.6.100.0150.01916.38
5.6.90.0170.01816.32
5.6.80.0150.01616.20
5.6.70.0170.01516.27
5.6.60.0160.01616.27
5.6.50.0160.01716.23
5.6.40.0160.01516.19
5.6.30.0150.01716.20
5.6.20.0140.01816.23
5.6.10.0150.01816.18
5.6.00.0150.01716.17
5.5.380.0180.01615.71
5.5.370.0150.01715.70
5.5.360.0170.01715.57
5.5.350.0160.01715.64
5.5.340.0170.01615.63
5.5.330.0160.01715.67
5.5.320.0150.01815.66
5.5.310.0180.01515.69
5.5.300.0150.01715.62
5.5.290.0160.01615.63
5.5.280.0150.02015.67
5.5.270.0150.01715.66
5.5.260.0170.02115.64
5.5.250.0180.01615.69
5.5.240.0160.01715.67
5.5.230.0160.01515.54
5.5.220.0150.01715.58
5.5.210.0160.01515.58
5.5.200.0160.01615.52
5.5.190.0150.01815.48
5.5.180.0180.01515.51
5.5.170.0170.01015.49
5.5.160.0140.01715.49
5.5.150.0140.01715.49
5.5.140.0170.01415.42
5.5.130.0160.01515.45
5.5.120.0150.01615.46
5.5.110.0130.01815.48
5.5.100.0150.01615.61
5.5.90.0160.01515.55
5.5.80.0140.01615.49
5.5.70.0150.01615.55
5.5.60.0160.01515.50
5.5.50.0160.01615.49
5.5.40.0150.01715.46
5.5.30.0170.01415.51
5.5.20.0160.01615.47
5.5.10.0140.01615.48
5.5.00.0170.01515.46
5.4.450.0130.01313.52
5.4.440.0130.01613.49
5.4.430.0100.01613.51
5.4.420.0120.01513.51
5.4.410.0120.01513.47
5.4.400.0160.01313.39
5.4.390.0120.01313.40
5.4.380.0130.01513.39
5.4.370.0120.01413.39
5.4.360.0130.01313.42
5.4.350.0130.01413.39
5.4.340.0140.01413.41
5.4.330.0140.00612.52
5.4.320.0150.01213.40
5.4.310.0150.01313.42
5.4.300.0120.01413.42
5.4.290.0130.01313.39
5.4.280.0140.01413.43
5.4.270.0130.01513.42
5.4.260.0140.01313.41
5.4.250.0150.01213.39
5.4.240.0130.01413.41
5.4.230.0130.01313.30
5.4.220.0130.01413.32
5.4.210.0130.01413.32
5.4.200.0130.01313.35
5.4.190.0140.01313.30
5.4.180.0110.01513.30
5.4.170.0130.01313.36
5.4.160.0130.01313.31
5.4.150.0110.01413.39
5.4.140.0120.01513.08
5.4.130.0130.01213.05
5.4.120.0120.01413.05
5.4.110.0130.01313.06
5.4.100.0130.01213.04
5.4.90.0130.01413.04
5.4.80.0120.01313.09
5.4.70.0130.01513.11
5.4.60.0120.01413.06
5.4.50.0120.01513.01
5.4.40.0110.01313.03
5.4.30.0110.01413.08
5.4.20.0130.01413.06
5.4.10.0140.01613.04
5.4.00.0120.01412.88
5.3.290.0130.01613.10
5.3.280.0120.01413.02
5.3.270.0130.01313.13
5.3.260.0110.01613.15
5.3.250.0120.01413.15
5.3.240.0120.01413.05
5.3.230.0120.01413.08
5.3.220.0130.01213.06
5.3.210.0140.01213.10
5.3.200.0140.01413.03
5.3.190.0110.01613.11
5.3.180.0140.01213.19
5.3.170.0130.01313.23
5.3.160.0120.01413.19
5.3.150.0120.01513.22
5.3.140.0130.01413.11
5.3.130.0130.01413.19
5.3.120.0150.01513.17
5.3.110.0140.01613.16
5.3.100.0140.01313.03
5.3.90.0120.01413.14
5.3.80.0120.01513.03
5.3.70.0140.01313.04
5.3.60.0110.01513.00
5.3.50.0120.01313.02
5.3.40.0120.01412.98
5.3.30.0120.01413.02
5.3.20.0120.01512.87
5.3.10.0100.01512.79
5.3.00.0120.01312.78

preferences:
35.88 ms | 403 KiB | 5 Q