3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_meta = Array ( 'interest' => array(), 'type' => array(), 'user_status' => array('deny'), 'firstname' => array(), 'lastname' => array('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.3.60.0080.00818.68
8.3.50.0130.00521.99
8.3.40.0140.00018.72
8.3.30.0150.00018.84
8.3.20.0080.00018.81
8.3.10.0070.00019.34
8.3.00.0050.00221.91
8.2.180.0120.00916.63
8.2.170.0140.00719.09
8.2.160.0070.01022.96
8.2.150.0050.00324.18
8.2.140.0050.00224.66
8.2.130.0000.00726.16
8.2.120.0030.00319.95
8.2.110.0090.00020.39
8.2.100.0090.00318.03
8.2.90.0060.00319.22
8.2.80.0000.00818.05
8.2.70.0040.00417.63
8.2.60.0050.00318.05
8.2.50.0030.00618.07
8.2.40.0040.00418.34
8.2.30.0030.00619.48
8.2.20.0070.00017.88
8.2.10.0040.00417.69
8.2.00.0000.00817.82
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0090.00022.55
8.1.230.0110.00020.91
8.1.220.0040.00418.77
8.1.210.0080.00018.89
8.1.200.0080.00017.23
8.1.190.0040.00417.53
8.1.180.0000.00718.10
8.1.170.0000.00818.46
8.1.160.0080.00018.77
8.1.150.0000.00818.52
8.1.140.0040.00417.42
8.1.130.0030.00317.68
8.1.120.0000.00717.37
8.1.110.0080.00017.46
8.1.100.0000.00817.48
8.1.90.0000.00717.40
8.1.80.0000.00717.46
8.1.70.0000.00717.41
8.1.60.0030.00617.52
8.1.50.0000.00817.38
8.1.40.0030.00617.42
8.1.30.0030.00517.66
8.1.20.0030.00517.59
8.1.10.0000.00817.52
8.1.00.0000.00717.53
8.0.300.0000.00920.09
8.0.290.0060.00317.05
8.0.280.0000.00718.39
8.0.270.0030.00317.12
8.0.260.0040.00418.39
8.0.250.0030.00516.98
8.0.240.0030.00516.88
8.0.230.0030.00316.91
8.0.220.0030.00316.74
8.0.210.0070.00016.86
8.0.200.0040.00416.91
8.0.190.0000.00716.94
8.0.180.0050.00217.01
8.0.170.0080.00016.87
8.0.160.0000.00716.96
8.0.150.0050.00216.91
8.0.140.0030.00416.95
8.0.130.0000.00713.41
8.0.120.0040.00416.96
8.0.110.0000.00816.85
8.0.100.0000.00716.99
8.0.90.0080.00016.82
8.0.80.0040.01117.02
8.0.70.0000.00816.82
8.0.60.0080.00016.91
8.0.50.0070.00016.84
8.0.30.0100.00817.04
8.0.20.0140.01017.40
8.0.10.0000.00717.08
8.0.00.0060.01216.74
7.4.330.0000.00514.70
7.4.320.0070.00016.49
7.4.300.0000.00616.40
7.4.290.0040.00416.61
7.4.280.0000.00716.58
7.4.270.0040.00416.52
7.4.260.0030.00313.27
7.4.250.0000.00716.49
7.4.240.0030.00316.58
7.4.230.0040.00416.49
7.4.220.0090.00916.66
7.4.210.0050.00916.56
7.4.200.0030.00316.63
7.4.190.0070.00016.70
7.4.160.0030.01416.46
7.4.150.0160.00017.40
7.4.140.0130.00817.86
7.4.130.0100.00816.57
7.4.120.0080.01016.46
7.4.110.0090.00916.54
7.4.100.0120.00616.40
7.4.90.0160.00816.46
7.4.80.0030.01619.39
7.4.70.0100.00716.39
7.4.60.0120.00916.50
7.4.50.0090.00016.73
7.4.40.0060.00922.52
7.4.30.0030.01616.65
7.4.00.0070.01115.12
7.3.330.0030.00313.18
7.3.320.0000.00513.43
7.3.310.0000.00716.15
7.3.300.0000.00716.23
7.3.290.0120.00316.39
7.3.280.0060.01016.30
7.3.270.0090.00917.40
7.3.260.0080.01118.24
7.3.250.0140.00716.33
7.3.240.0100.00716.48
7.3.230.0130.00516.39
7.3.210.0160.00616.39
7.3.200.0130.00319.39
7.3.190.0060.01216.33
7.3.180.0030.01616.41
7.3.170.0120.00616.43
7.3.160.0060.00916.33
7.3.120.0070.00814.88
7.3.110.0100.00614.90
7.3.100.0040.00814.89
7.3.90.0030.00914.72
7.3.80.0040.00714.75
7.3.70.0070.00714.74
7.3.60.0090.00314.32
7.3.50.0060.01014.89
7.3.40.0030.01014.80
7.3.30.0070.00714.56
7.3.20.0000.00916.61
7.3.10.0030.01116.57
7.3.00.0130.00316.67
7.2.330.0090.00916.46
7.2.320.0100.01316.27
7.2.310.0060.01216.30
7.2.300.0060.01716.77
7.2.290.0060.01516.47
7.2.250.0060.01314.54
7.2.240.0070.01015.04
7.2.230.0030.01214.89
7.2.220.0030.01015.18
7.2.210.0090.00614.88
7.2.200.0080.00414.93
7.2.190.0070.01015.23
7.2.180.0080.00414.91
7.2.170.0090.00315.02
7.2.00.0000.01319.11
7.1.330.0120.00315.87
7.1.320.0030.00915.84
7.1.310.0070.00715.82
7.1.300.0000.01315.78
7.1.290.0090.00615.77
7.1.280.0070.00315.73
7.1.270.0040.01115.77
7.1.260.0070.00715.75
7.1.100.0030.00918.33
7.1.70.0080.00317.30
7.1.60.0040.01819.40
7.1.50.0070.01516.80
7.1.00.0070.07322.31
7.0.200.0000.00716.31
7.0.140.0100.06722.15
7.0.60.0130.07019.93
7.0.50.0030.08017.87
7.0.40.0100.07020.15
7.0.30.0270.08320.12
7.0.20.0500.05320.20
7.0.10.0230.07320.25
7.0.00.0070.04720.24
5.6.280.0030.07321.08
5.6.210.0030.06320.75
5.6.200.0030.07018.12
5.6.190.0100.08320.55
5.6.180.0030.08020.55
5.6.170.0300.07320.50
5.6.160.0000.04720.54
5.6.150.0070.08318.12
5.6.140.0030.05718.11
5.6.130.0030.05018.14
5.6.120.0070.06321.02
5.6.110.0000.09321.02
5.6.100.0030.08021.00
5.6.90.0030.08021.10
5.6.80.0130.06320.41
5.6.70.4470.04720.43
5.5.350.0070.07020.43
5.5.340.0130.06717.95
5.5.330.0130.03320.31
5.5.320.0330.06320.35
5.5.310.0370.07020.24
5.5.300.0070.04318.07
5.5.290.0170.07318.07
5.5.280.0000.09320.65
5.5.270.0070.08320.86
5.5.260.0000.09720.86
5.5.250.0130.07320.68
5.5.240.0000.04320.27
5.4.450.2070.04319.31
5.4.440.0970.04719.54
5.4.430.0030.04319.30
5.4.420.0070.05019.45
5.4.410.1730.04019.32
5.4.400.1970.04719.24
5.4.390.2030.04019.08
5.4.380.1770.03719.06
5.4.370.1900.03718.95
5.4.360.1970.03019.20
5.4.350.2000.05019.06
5.4.340.2030.03719.15
5.4.320.0270.04319.20
5.4.310.0100.03018.84
5.4.300.0030.07318.96
5.4.290.0470.07019.05
5.4.280.2070.04319.30
5.4.270.2000.04019.14
5.4.260.1900.03719.16
5.4.250.2270.05018.84
5.4.240.1900.04319.05
5.4.230.1900.04719.21
5.4.220.1930.05019.14
5.4.210.2070.04319.23
5.4.200.2030.04319.05
5.4.190.1730.04019.19
5.4.180.2130.03719.18
5.4.170.2070.03719.21
5.4.160.1970.03318.97
5.4.150.1900.03018.85
5.4.140.2100.04016.29
5.4.130.1800.03716.43
5.4.120.1870.03316.49
5.4.110.2070.03316.25
5.4.100.2000.03316.19
5.4.90.1930.03316.56
5.4.80.2030.03716.52
5.4.70.2130.03716.56
5.4.60.1870.03016.56
5.4.50.1830.03316.53
5.4.40.1830.03716.54
5.4.30.1930.03316.53
5.4.20.2070.03316.53
5.4.10.1870.03716.21
5.4.00.1830.03715.86
5.3.290.1870.03314.74
5.3.280.2070.03714.49
5.3.270.1970.04014.52
5.3.260.2100.04014.61
5.3.250.1700.03314.61
5.3.240.1800.03714.53
5.3.230.1870.04314.60
5.3.220.0070.03314.48
5.3.210.0070.03314.68
5.3.200.0000.03714.59
5.3.190.1030.03714.57
5.3.180.1430.04014.65
5.3.170.1530.04014.68
5.3.160.1770.04014.61
5.3.150.1630.03714.53
5.3.140.1700.03714.64
5.3.130.2070.04314.71
5.3.120.1970.04314.54
5.3.110.1730.04014.77
5.3.100.1670.03313.93
5.3.90.1800.03714.01
5.3.80.2030.03714.02
5.3.70.1600.03714.04
5.3.60.1670.04713.91
5.3.50.1870.03014.09
5.3.40.1400.03313.85
5.3.30.1470.03713.81
5.3.20.1630.03713.71
5.3.10.1830.03013.88
5.3.00.1730.04013.65
5.2.170.1470.02311.09
5.2.160.1200.02710.98
5.2.150.1570.03011.23
5.2.140.1570.03011.08
5.2.130.1530.03010.95
5.2.120.1600.03310.94
5.2.110.1430.03010.95
5.2.100.1930.02310.94
5.2.90.1870.03010.96
5.2.80.1470.02711.14
5.2.70.1930.02710.93
5.2.60.2130.03010.95
5.2.50.1570.03711.07
5.2.40.1570.03010.84
5.2.30.1870.03011.13
5.2.20.1600.03010.82
5.2.10.1670.03010.97
5.2.00.1370.03010.64
5.1.60.1870.0279.88
5.1.50.1870.0309.88
5.1.40.1470.0209.90
5.1.30.1470.02310.26
5.1.20.1400.03010.37
5.1.10.1370.02010.05
5.1.00.1300.0309.97
5.0.50.0670.0278.41
5.0.40.0670.0238.49
5.0.30.0670.0278.16
5.0.20.0670.0178.16
5.0.10.0630.0208.16
5.0.00.0600.0308.16
4.4.90.0670.0108.16
4.4.80.0730.0208.16
4.4.70.0700.0208.16
4.4.60.0700.0208.16
4.4.50.0770.0138.16
4.4.40.0600.0278.16
4.4.30.0630.0178.16
4.4.20.0830.0208.16
4.4.10.0770.0208.16
4.4.00.0830.0408.16
4.3.110.0700.0238.16
4.3.100.0600.0138.16
4.3.90.0730.0178.16
4.3.80.0630.0238.16
4.3.70.0600.0138.16
4.3.60.0630.0208.16
4.3.50.0670.0208.16
4.3.40.0400.0208.16
4.3.30.0400.0238.16
4.3.20.0300.0238.16
4.3.10.0370.0178.16
4.3.00.0330.0138.16

preferences:
48.3 ms | 401 KiB | 5 Q