3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 0 => array('user_id' => '1', 'email'=>'email1'), 1 => array('user_id' => '2', 'email'=>'email2'), 2 => array('user_id' => '3', 'email'=>'email3') ); //var_dump(array_flip($array));

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.0120.00616.38
8.3.50.0120.00721.89
8.3.40.0100.01018.61
8.3.30.0070.00718.84
8.3.20.0070.00020.26
8.3.10.0030.00623.70
8.3.00.0080.00019.13
8.2.180.0180.00316.36
8.2.170.0150.00322.96
8.2.160.0100.01020.52
8.2.150.0030.00524.18
8.2.140.0000.00724.66
8.2.130.0040.01426.16
8.2.120.0000.01022.25
8.2.110.0000.01020.96
8.2.100.0030.00917.65
8.2.90.0060.00318.86
8.2.80.0030.00617.97
8.2.70.0070.00317.46
8.2.60.0030.00517.93
8.2.50.0060.00318.07
8.2.40.0000.00818.09
8.2.30.0000.00718.05
8.2.20.0000.00717.57
8.2.10.0000.00717.97
8.2.00.0040.00717.63
8.1.280.0140.00025.92
8.1.270.0080.00022.05
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0060.00322.72
8.1.230.0060.00618.86
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00717.28
8.1.180.0080.00018.10
8.1.170.0000.00918.52
8.1.160.0000.00721.86
8.1.150.0040.00418.55
8.1.140.0050.00317.25
8.1.130.0070.00017.76
8.1.120.0030.00317.36
8.1.110.0030.00317.27
8.1.100.0000.00717.29
8.1.90.0000.00717.42
8.1.80.0070.00017.28
8.1.70.0000.00717.35
8.1.60.0040.00417.51
8.1.50.0040.00417.46
8.1.40.0080.00017.32
8.1.30.0000.00817.57
8.1.20.0070.00017.63
8.1.10.0040.00417.30
8.1.00.0040.00417.39
8.0.300.0000.00820.65
8.0.290.0070.00017.15
8.0.280.0000.00718.48
8.0.270.0070.00017.17
8.0.260.0000.00617.05
8.0.250.0000.00716.94
8.0.240.0000.00616.89
8.0.230.0000.00716.75
8.0.220.0000.00716.72
8.0.210.0000.00816.72
8.0.200.0000.00616.77
8.0.190.0040.00416.89
8.0.180.0000.00716.73
8.0.170.0000.00816.72
8.0.160.0000.00716.82
8.0.150.0070.00016.83
8.0.140.0040.00416.74
8.0.130.0000.00513.31
8.0.120.0080.00016.75
8.0.110.0000.00716.79
8.0.100.0000.00716.76
8.0.90.0030.00316.93
8.0.80.0040.01116.77
8.0.70.0000.00716.71
8.0.60.0040.00416.88
8.0.50.0000.00816.61
8.0.30.0060.01216.98
8.0.20.0080.01317.40
8.0.10.0030.00516.89
8.0.00.0120.00716.69
7.4.330.0020.00215.14
7.4.320.0030.00316.45
7.4.300.0030.00316.50
7.4.290.0030.00316.42
7.4.280.0030.00316.40
7.4.270.0040.00416.42
7.4.260.0030.00316.44
7.4.250.0040.00416.45
7.4.240.0050.00416.49
7.4.230.0070.00016.50
7.4.220.0150.00616.46
7.4.210.0110.00616.52
7.4.200.0000.00816.55
7.4.190.0070.00016.47
7.4.160.0090.00616.29
7.4.150.0070.01317.40
7.4.140.0050.01517.86
7.4.130.0140.00816.38
7.4.120.0080.01116.38
7.4.110.0070.01416.52
7.4.100.0130.00716.39
7.4.90.0150.00316.34
7.4.80.0150.00819.39
7.4.70.0070.01016.37
7.4.60.0070.01016.30
7.4.50.0000.00816.42
7.4.40.0070.01022.77
7.4.30.0080.00816.42
7.4.00.0110.00414.80
7.3.330.0060.00012.97
7.3.320.0030.00313.04
7.3.310.0000.00716.20
7.3.300.0060.00016.04
7.3.290.0080.00616.16
7.3.280.0080.00916.14
7.3.270.0120.00617.40
7.3.260.0030.01316.21
7.3.250.0090.00816.17
7.3.240.0090.00916.32
7.3.230.0120.00616.39
7.3.210.0170.00016.21
7.3.200.0030.01519.39
7.3.190.0200.00616.48
7.3.180.0170.00316.16
7.3.170.0080.01316.27
7.3.160.0060.01516.38
7.3.120.0100.00714.52
7.2.330.0060.01016.31
7.2.320.0160.00016.48
7.2.310.0100.00716.59
7.2.300.0030.01216.42
7.2.290.0040.01116.48
7.2.00.0090.00318.98
7.1.100.0040.00817.64
7.1.70.0000.00916.64
7.1.60.0110.01419.33
7.1.50.0040.00816.84
7.1.00.0000.07322.28
7.0.200.0000.00716.63
7.0.140.0070.07022.01
7.0.60.0170.08019.80
7.0.50.0100.04017.77
7.0.40.0100.08320.40
7.0.30.0330.07720.20
7.0.20.0070.05020.00
7.0.10.0070.08320.08
7.0.00.0070.06020.20
5.6.280.0070.07021.07
5.6.210.0030.08320.76
5.6.200.0100.08318.15
5.6.190.0130.08320.41
5.6.180.0170.05020.60
5.6.170.0330.07720.44
5.6.160.0030.04320.43
5.6.150.0070.08718.11
5.6.140.0130.07318.09
5.6.130.0100.05018.07
5.6.120.0100.08321.00
5.6.110.0030.04321.00
5.6.100.0100.06321.01
5.6.90.0100.06321.00
5.6.80.0030.08320.39
5.6.70.4230.04020.49
5.5.350.0070.05720.45
5.5.340.0030.08317.98
5.5.330.0000.05020.21
5.5.320.0400.06020.18
5.5.310.0300.07020.29
5.5.300.0070.08317.88
5.5.290.0130.07718.02
5.5.280.0100.06720.86
5.5.270.0070.06020.66
5.5.260.0070.07320.79
5.5.250.0030.08720.60
5.5.240.0200.07320.15
5.4.450.0100.05719.45
5.4.440.0170.05719.11
5.4.430.0130.05319.51
5.4.420.0630.00019.46
5.4.410.0000.06018.87
5.4.400.0170.07018.75
5.4.390.0230.05018.54
5.4.380.0130.06718.70
5.4.370.0070.04018.67
5.4.360.0100.03318.72
5.4.350.0060.03411.97
5.4.340.0050.03611.97
5.4.320.0070.04712.45
5.4.310.0100.04712.45
5.4.300.0060.03512.45
5.4.290.0060.04212.45
5.4.280.0060.05212.32
5.4.270.0190.06312.32
5.4.260.0050.05612.31
5.4.250.0110.05412.32
5.4.240.0120.05312.31
5.4.230.0190.08112.31
5.4.220.0110.04712.31
5.4.210.0090.04512.31
5.4.200.0120.05612.31
5.4.190.0120.06912.30
5.4.180.0090.04012.31
5.4.170.0100.04312.32
5.4.160.0100.04512.31
5.4.150.0110.04112.31
5.4.140.0090.04411.99
5.4.130.0110.05111.98
5.4.120.0130.03911.94
5.4.110.0110.04311.94
5.4.100.0130.04211.93
5.4.90.0110.04511.94
5.4.80.0120.05511.94
5.4.70.0090.03811.93
5.4.60.0100.03811.93
5.4.50.0100.04211.93
5.4.40.0100.04011.92
5.4.30.0100.04111.92
5.4.20.0140.04011.92
5.4.10.0120.04611.92
5.4.00.0130.06211.41
5.3.290.0040.05312.80
5.3.280.0180.07812.71
5.3.270.0100.05012.72
5.3.260.0120.04912.72
5.3.250.0120.06012.72
5.3.240.0130.04812.72
5.3.230.0130.05012.71
5.3.220.0120.05112.68
5.3.210.0150.05212.68
5.3.200.0130.03812.68
5.3.190.0100.04212.68
5.3.180.0080.04312.67
5.3.170.0110.04412.67
5.3.160.0130.04312.68
5.3.150.0180.05912.67
5.3.140.0110.04812.66
5.3.130.0170.05212.66
5.3.120.0160.06812.66
5.3.110.0130.04512.66
5.3.100.0080.04812.12
5.3.90.0140.04612.08
5.3.80.0110.04312.08
5.3.70.0160.04812.08
5.3.60.0120.04312.06
5.3.50.0220.07312.00
5.3.40.0130.04112.00
5.3.30.0150.04311.94
5.3.20.0080.04211.71
5.3.10.0100.03811.67
5.3.00.0140.05611.66

preferences:
42.45 ms | 401 KiB | 5 Q