3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_meta = Array ( [interest] => Array ( [0] => Array ) [type] => Array ( [0] => Array ) [user_status] => Array ( [0] => deny) [firstname] => Array ( [0] => ) [lastname] => Array ( [0] => B ) [email] => email@cc.com ) $names = array_map( function($person) { return $person[0]; }, $user_meta );

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.2.100.0280.00717.69
8.2.90.0240.01617.69
8.2.80.0270.00517.69
8.2.70.0210.00917.69
8.2.60.0380.00317.69
8.2.50.0240.00717.69
8.2.40.0170.01118.50
8.2.30.0280.00417.69
8.2.20.0240.00617.69
8.2.10.0250.00417.69
8.2.00.0240.00519.02
8.1.230.0170.00620.47
8.1.220.0270.00517.69
8.1.210.0240.00517.69
8.1.200.0290.00017.69
8.1.190.0310.00017.69
8.1.180.0260.00817.69
8.1.170.0260.00517.69
8.1.160.0280.00617.69
8.1.150.0340.00417.69
8.1.140.0250.00817.69
8.1.130.0270.00817.69
8.1.120.0290.00517.69
8.1.110.0330.00317.69
8.1.100.0260.00617.69
8.1.90.0340.00017.69
8.1.80.0280.00617.69
8.1.70.0310.00317.69
8.1.60.0170.01417.69
8.1.50.0320.00417.69
8.1.40.0340.00517.69
8.1.30.0270.00717.69
8.1.20.0140.00417.56
8.1.10.0180.01517.69
8.1.00.0260.00817.69
8.0.300.0340.00017.69
8.0.290.0230.00517.69
8.0.280.0200.01217.69
8.0.270.0300.00517.69
8.0.260.0180.01517.69
8.0.250.0340.00017.69
8.0.240.0250.00517.69
8.0.230.0240.00817.69
8.0.220.0260.00617.69
8.0.210.0190.01117.69
8.0.200.0260.00317.69
8.0.190.0230.00717.69
8.0.180.0290.00317.69
8.0.170.0280.00417.69
8.0.160.0290.00317.69
8.0.150.0330.00317.69
8.0.140.0220.00917.69
8.0.130.0280.00517.69
8.0.120.0290.00617.69
8.0.110.0240.00517.69
8.0.100.0230.01017.69
8.0.90.0250.00717.69
8.0.80.0180.01417.69
8.0.70.0270.00517.69
8.0.60.0250.00717.69
8.0.50.0250.00617.69
8.0.30.0310.00317.69
8.0.20.0240.00317.69
8.0.10.0270.00317.69
8.0.00.0290.00517.69
7.4.330.0240.00217.69
7.4.320.0250.00617.69
7.4.300.0180.01417.69
7.4.290.0280.00317.69
7.4.280.0250.00617.69
7.4.270.0220.00817.69
7.4.260.0240.00617.69
7.4.250.0220.00617.69
7.4.240.0290.00217.69
7.4.230.0110.00616.71
7.4.220.0110.00618.21
7.4.210.0220.00717.69
7.4.200.0270.00817.69
7.4.190.0280.00317.69
7.4.180.0200.00917.69
7.4.160.0170.01217.69
7.4.150.0250.00617.69
7.4.140.0270.00417.69
7.4.130.0260.00317.69
7.4.120.0310.00017.69
7.4.110.0260.00017.69
7.4.100.0210.00317.69
7.4.90.0150.00817.69
7.4.80.0190.00617.69
7.4.70.0240.00017.69
7.4.60.0210.00417.69
7.4.50.0190.00517.69
7.4.40.0220.00317.69
7.4.30.0200.00317.69
7.4.20.0190.00917.69
7.4.10.0200.00417.69
7.4.00.0160.01017.69
7.3.330.0190.00617.69
7.3.320.0200.00317.69
7.3.310.0240.00017.69
7.3.300.0120.01217.69
7.3.290.0200.00817.69
7.3.280.0210.00317.69
7.3.270.0190.00517.69
7.3.260.0310.00017.69
7.3.250.0210.00717.69
7.3.240.0260.00017.69
7.3.230.0180.00717.69
7.3.220.0270.00017.69
7.3.210.0220.00417.69
7.3.200.0230.00517.69
7.3.190.0200.00717.69
7.3.180.0250.00417.69
7.3.170.0310.00017.69
7.3.160.0180.00817.69
7.3.150.0230.00317.69
7.3.140.0250.00017.69
7.3.130.0200.00417.69
7.3.120.0210.00417.69
7.3.110.0150.01117.69
7.3.100.0250.00017.69
7.3.90.0190.00417.69
7.3.80.0260.00017.69
7.3.70.0240.00017.69
7.3.60.0140.01117.69
7.3.50.0200.00717.69
7.3.40.0190.00617.69
7.3.30.0150.00917.69
7.3.20.0210.00417.93
7.3.10.0280.00317.69
7.3.00.0200.00517.69
7.2.340.0230.00317.69
7.2.330.0220.00317.69
7.2.320.0100.01517.69
7.2.310.0260.00017.69
7.2.300.0210.00317.69
7.2.290.0210.00417.69
7.2.280.0210.00317.69
7.2.270.0170.00917.69
7.2.260.0230.00617.69
7.2.250.0210.00517.69
7.2.240.0180.00717.69
7.2.230.0200.00417.69
7.2.220.0250.00017.69
7.2.210.0210.00317.69
7.2.200.0170.00817.69
7.2.190.0200.00717.69
7.2.180.0210.00417.69
7.2.170.0210.00717.69
7.2.160.0240.00317.69
7.2.150.0230.00317.88
7.2.140.0170.00717.81
7.2.130.0190.00817.72
7.2.120.0190.00518.04
7.2.110.0170.00817.94
7.2.100.0210.00417.81
7.2.90.0280.00017.78
7.2.80.0260.00018.14
7.2.70.0210.00618.13
7.2.60.0230.00317.93
7.2.50.0250.00018.01
7.2.40.0150.01018.03
7.2.30.0270.00017.69
7.2.20.0230.00318.02
7.2.10.0230.00517.69
7.2.00.0200.00718.11
7.1.330.0220.00317.69
7.1.320.0150.00717.69
7.1.310.0140.00717.69
7.1.300.0180.00317.69
7.1.290.0140.00917.69
7.1.280.0190.00317.69
7.1.270.0230.00017.69
7.1.260.0180.00617.69
7.1.250.0220.00017.69
7.1.240.0110.01117.69
7.1.230.0240.00417.69
7.1.220.0250.00017.69
7.1.210.0200.00317.69
7.1.200.0160.00617.69
7.1.190.0240.00017.69
7.1.180.0200.00317.69
7.1.170.0160.00617.69
7.1.160.0180.00417.69
7.1.150.0180.00617.69
7.1.140.0210.00317.69
7.1.130.0220.00617.69
7.1.120.0210.00817.69
7.1.110.0190.00717.69
7.1.100.0230.00317.69
7.1.90.0240.00317.69
7.1.80.0170.00817.69
7.1.70.0190.00617.69
7.1.60.0230.00417.69
7.1.50.0230.00317.69
7.1.40.0190.00617.69
7.1.30.0250.00317.69
7.1.20.0260.00017.69
7.1.10.0230.00317.69
7.1.00.0190.00817.69
7.0.330.0190.00417.69
7.0.320.0250.00517.69
7.0.310.0180.00717.69
7.0.300.0220.00617.69
7.0.290.0220.00417.69
7.0.280.0130.01017.69
7.0.270.0190.00617.69
7.0.260.0210.00317.69
7.0.250.0220.00717.69
7.0.240.0240.00017.69
7.0.230.0240.00017.69
7.0.220.0190.00717.69
7.0.210.0220.00317.69
7.0.200.0180.00717.69
7.0.190.0240.00217.69
7.0.180.0170.01017.69
7.0.170.0200.00417.69
7.0.160.0160.01217.69
7.0.150.0180.00717.69
7.0.140.0260.00917.69
7.0.130.0230.00417.69
7.0.120.0220.00317.69
7.0.110.0170.00817.69
7.0.100.0190.00617.69
7.0.90.0530.00218.93
7.0.80.0560.00118.80
7.0.70.0530.00118.79
7.0.60.0320.01619.17
7.0.50.0340.02919.45
7.0.40.0370.03219.58
7.0.30.0450.03719.58
7.0.20.0440.03419.62
7.0.10.0320.02219.62
7.0.00.0300.03219.65
5.6.400.0120.00416.22
5.6.390.0240.00017.69
5.6.380.0240.00417.69
5.6.370.0190.00817.69
5.6.360.0110.01117.69
5.6.350.0280.00317.69
5.6.340.0230.00417.69
5.6.330.0270.00017.69
5.6.320.0210.00317.69
5.6.310.0210.00317.69
5.6.300.0230.00417.69
5.6.290.0210.00417.69
5.6.280.0170.00717.69
5.6.270.0200.00417.69
5.6.260.0200.00517.69
5.6.250.0220.00317.69
5.6.240.0540.00519.20
5.6.230.0600.00119.18
5.6.220.0490.00019.18
5.6.210.0370.02819.76
5.6.200.0400.02918.99
5.6.190.0330.02620.10
5.6.180.1140.02820.05
5.6.170.0390.03320.08
5.6.160.0350.03620.10
5.6.150.0360.02819.51
5.6.140.0320.02519.91
5.6.130.0450.02519.95
5.6.120.0440.02119.93
5.6.110.0390.02319.96
5.6.100.0420.01919.94
5.6.90.0400.02819.90
5.6.80.0340.02719.57
5.6.70.0390.02219.50
5.6.60.0840.02119.53
5.6.50.0330.02119.50
5.6.40.0310.02819.49
5.6.30.0420.02019.51
5.6.20.0380.01819.54
5.6.10.0340.02019.47
5.6.00.0370.01919.52
5.5.380.0520.00019.04
5.5.370.0570.00019.09
5.5.360.0550.00019.05
5.5.350.0440.01419.51
5.5.340.0320.02318.77
5.5.330.0380.02619.92
5.5.320.0440.03419.98
5.5.310.0410.03219.94
5.5.300.0340.03519.35
5.5.290.0420.02319.82
5.5.280.0300.03119.80
5.5.270.0320.02519.85
5.5.260.0410.02019.79
5.5.250.0440.01919.72
5.5.240.0370.02719.41
5.5.230.0350.02819.42
5.5.220.0360.02319.33
5.5.210.0380.01919.35
5.5.200.0400.02719.34
5.5.190.0440.02019.41
5.5.180.0430.02019.42
5.5.170.0170.00417.69
5.5.160.0350.02819.39
5.5.150.0400.01919.44
5.5.140.0380.02419.40
5.5.130.0360.02419.30
5.5.120.0370.02019.38
5.5.110.0430.01719.36
5.5.100.0350.02519.25
5.5.90.0340.02819.31
5.5.80.0330.02619.30
5.5.70.0390.01619.34
5.5.60.0300.02219.34
5.5.50.0360.01819.35
5.5.40.0390.02019.33
5.5.30.0400.02119.34
5.5.20.0390.01919.30
5.5.10.0420.02519.29
5.5.00.0330.01919.28
5.4.450.0290.02619.03
5.4.440.0310.02618.93
5.4.430.0310.02619.00
5.4.420.0340.02719.02
5.4.410.0270.02918.96
5.4.400.0270.02818.81
5.4.390.0250.03518.67
5.4.380.0320.02718.73
5.4.370.0280.03118.78
5.4.360.0350.03218.71
5.4.350.0290.03218.79
5.4.340.0290.02718.77
5.4.330.0140.00317.69
5.4.320.0300.03218.77
5.4.310.0270.03418.70
5.4.300.0310.03018.75
5.4.290.0340.02418.74
5.4.280.0300.02418.73
5.4.270.0310.03018.79
5.4.260.0270.03518.66
5.4.250.0300.03318.81
5.4.240.0280.03418.77
5.4.230.0270.03318.82
5.4.220.0270.03518.81
5.4.210.0260.03318.76
5.4.200.0270.03218.73
5.4.190.0330.03118.70
5.4.180.0330.03418.79
5.4.170.0260.02318.78
5.4.160.0300.02718.76
5.4.150.0330.03218.67
5.4.140.0300.03016.72
5.4.130.0340.03116.70
5.4.120.0270.02916.81
5.4.110.0310.02716.76
5.4.100.0360.02016.76
5.4.90.0340.02816.80
5.4.80.0310.03216.77
5.4.70.0280.01816.79
5.4.60.0270.02216.75
5.4.50.0270.02416.72
5.4.40.0280.03316.74
5.4.30.0240.03316.77
5.4.20.0270.03216.81
5.4.10.0300.03416.71
5.4.00.0270.02616.36
5.3.290.0290.02815.36
5.3.280.0340.03215.32
5.3.270.0400.03115.30
5.3.260.0270.02715.35
5.3.250.0280.03715.29
5.3.240.0320.02615.31
5.3.230.0330.02915.33
5.3.220.0410.03215.26
5.3.210.0320.03315.28
5.3.200.0250.03315.29
5.3.190.0360.02415.30
5.3.180.0330.03415.27
5.3.170.0260.02915.35
5.3.160.0250.03015.25
5.3.150.0290.02715.27
5.3.140.0260.03715.28
5.3.130.0340.02715.27
5.3.120.0290.03415.29
5.3.110.0310.03115.26
5.3.100.0300.02914.91
5.3.90.0250.02314.87
5.3.80.0290.03114.89
5.3.70.0260.02514.88
5.3.60.0300.02014.92
5.3.50.0270.02214.83
5.3.40.0270.02714.79
5.3.30.0330.02814.79
5.3.20.0250.03314.62
5.3.10.0250.02714.56
5.3.00.0280.02814.57

preferences:
137.2 ms | 1440 KiB | 7 Q