3v4l.org

run code in 300+ PHP versions simultaneously
<?php $term_ids_weirdstuff = array( 0 => array('tid' => 1), 1 => array('tid' => 2), 2 => array('tid' => 3), ); $term_ids=array(); foreach( $term_ids_weirdstuff as $dt)$term_ids[]=$dt['tid']; $dt[]=$dt['tid']; print_r($term_ids); ?>

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.0170.00018.31
8.3.50.0050.01221.27
8.3.40.0070.00718.72
8.3.30.0090.00618.84
8.3.20.0000.00818.65
8.3.10.0030.00521.10
8.3.00.0050.00321.60
8.2.180.0110.00716.38
8.2.170.0060.00922.96
8.2.160.0030.01020.43
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0080.00019.67
8.2.110.0090.00020.57
8.2.100.0080.00317.72
8.2.90.0060.00319.20
8.2.80.0030.00517.97
8.2.70.0030.00917.75
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0070.00017.97
8.2.30.0030.00619.44
8.2.20.0050.00317.70
8.2.10.0040.00417.67
8.2.00.0040.00417.67
8.1.280.0000.01425.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0070.00328.09
8.1.240.0000.01022.60
8.1.230.0040.00820.91
8.1.220.0060.00318.77
8.1.210.0060.00318.89
8.1.200.0060.00317.23
8.1.190.0000.00717.41
8.1.180.0000.00818.10
8.1.170.0060.00318.61
8.1.160.0020.00518.79
8.1.150.0030.00618.58
8.1.140.0040.00417.38
8.1.130.0030.00317.79
8.1.120.0070.00017.45
8.1.110.0080.00317.42
8.1.100.0020.00517.32
8.1.90.0040.00417.48
8.1.80.0000.00717.48
8.1.70.0030.00317.43
8.1.60.0040.00417.57
8.1.50.0030.00617.43
8.1.40.0000.00817.54
8.1.30.0040.00417.49
8.1.20.0030.00517.59
8.1.10.0060.00317.52
8.1.00.0030.00617.41
8.0.300.0080.00020.01
8.0.290.0000.00717.18
8.0.280.0040.00418.47
8.0.270.0030.00317.32
8.0.260.0060.00016.80
8.0.250.0070.00016.84
8.0.240.0030.00516.85
8.0.230.0000.00916.92
8.0.220.0030.00616.90
8.0.210.0000.00716.77
8.0.200.0070.00016.82
8.0.190.0080.00016.95
8.0.180.0030.00316.94
8.0.170.0040.00416.80
8.0.160.0070.00016.90
8.0.150.0070.00016.85
8.0.140.0070.00016.83
8.0.130.0000.00513.28
8.0.120.0000.00716.73
8.0.110.0040.00416.71
8.0.100.0040.00416.89
8.0.90.0030.00516.79
8.0.80.0100.01016.83
8.0.70.0000.00716.74
8.0.60.0040.00416.94
8.0.50.0000.00716.88
8.0.30.0110.00817.08
8.0.20.0120.00617.40
8.0.10.0020.00517.03
8.0.00.0030.01516.76
7.4.330.0060.00014.78
7.4.320.0030.00316.44
7.4.300.0060.00016.48
7.4.290.0040.00416.50
7.4.280.0040.00416.38
7.4.270.0070.00016.63
7.4.260.0000.00513.38
7.4.250.0040.00416.57
7.4.240.0000.00716.57
7.4.230.0040.00416.38
7.4.220.0040.01516.58
7.4.210.0090.00716.53
7.4.200.0040.00416.50
7.4.190.0070.00016.66
7.4.160.0150.00516.26
7.4.150.0110.00517.40
7.4.140.0080.01317.86
7.4.130.0080.01216.55
7.4.120.0130.00816.32
7.4.110.0030.01316.45
7.4.100.0060.01316.46
7.4.90.0080.00816.37
7.4.80.0130.00319.37
7.4.70.0100.01316.30
7.4.60.0130.00716.47
7.4.50.0030.00616.38
7.4.40.0100.00722.52
7.4.30.0000.01616.22
7.4.00.0040.01015.01
7.3.330.0060.00013.22
7.3.320.0060.00613.23
7.3.310.0050.00316.32
7.3.300.0030.00316.30
7.3.290.0100.01016.21
7.3.280.0070.01016.25
7.3.270.0100.00717.40
7.3.260.0150.00718.24
7.3.250.0100.00716.35
7.3.240.0030.01316.57
7.3.230.0070.01016.39
7.3.210.0140.00316.33
7.3.200.0150.00619.39
7.3.190.0150.00616.70
7.3.180.0080.00816.50
7.3.170.0070.01016.55
7.3.160.0100.00716.60
7.3.120.0080.00315.03
7.2.330.0110.00716.50
7.2.320.0170.00616.74
7.2.310.0070.01116.69
7.2.300.0040.01216.56
7.2.290.0030.01416.69
7.2.110.0120.00816.65
7.2.100.0150.00316.44
7.2.90.0130.00716.63
7.2.80.0670.00316.27
7.2.70.0310.01216.77
7.2.60.0130.00316.76
7.2.50.0120.01216.95
7.2.40.0110.01116.86
7.2.30.0140.00516.84
7.2.20.0180.00316.98
7.2.10.0140.00816.86
7.2.00.0150.01218.27
7.1.230.0140.00415.75
7.1.220.0100.00815.90
7.1.210.1120.00615.98
7.1.200.0110.00615.80
7.1.190.0100.00815.81
7.1.180.0110.01115.59
7.1.170.0450.00015.79
7.1.160.0190.00815.96
7.1.150.0050.01015.73
7.1.140.0170.00015.59
7.1.130.0150.00315.82
7.1.120.0070.00815.81
7.1.110.0210.01115.97
7.1.100.0060.00716.82
7.1.90.0130.00515.85
7.1.80.0110.00416.04
7.1.70.0050.00616.46
7.1.60.0080.01417.68
7.1.50.0120.00916.24
7.1.40.0100.01015.82
7.1.30.0220.00016.00
7.1.20.0000.01815.68
7.1.10.0080.00315.96
7.1.00.0060.04118.86
7.0.310.0100.00515.20
7.0.300.0340.00315.61
7.0.290.0210.00315.29
7.0.280.0120.00615.25
7.0.270.0110.00415.57
7.0.260.0090.00915.48
7.0.250.0130.00315.64
7.0.240.0140.00315.62
7.0.230.0170.00015.59
7.0.220.0210.00315.48
7.0.210.0100.00215.34
7.0.200.0070.00416.17
7.0.190.0120.00315.32
7.0.180.0130.00015.50
7.0.170.0130.00315.49
7.0.160.0070.01315.27
7.0.150.0080.00815.23
7.0.140.0070.04018.54
7.0.130.0000.01215.60
7.0.120.0560.00615.45
7.0.110.0130.00315.41
7.0.100.0150.00315.20
7.0.90.0130.00615.55
7.0.80.0110.00115.46
7.0.70.0110.01818.34
7.0.60.0020.02518.63
7.0.50.0080.03718.81
7.0.40.0130.03016.59
7.0.30.0100.02816.85
7.0.20.0070.04616.88
7.0.10.0090.04016.79
7.0.00.0070.04716.81
5.6.380.0070.00714.34
5.6.370.0110.01114.29
5.6.360.0110.00614.51
5.6.350.0150.00314.54
5.6.340.0130.00414.18
5.6.330.0130.00514.59
5.6.320.0040.01214.58
5.6.310.0080.00413.99
5.6.300.0040.00914.68
5.6.290.0120.00214.33
5.6.280.0060.04117.78
5.6.270.0080.00814.57
5.6.260.0130.00014.52
5.6.250.0120.00614.67
5.6.240.0130.00314.55
5.6.230.0090.00514.25
5.6.220.0060.02517.47
5.6.210.0080.02317.45
5.6.200.0110.02317.71
5.6.190.0040.04617.64
5.6.180.0100.02817.83
5.6.170.0080.04117.64
5.6.160.0080.03417.62
5.6.150.0080.03717.66
5.6.140.0040.03617.75
5.6.130.0070.03017.72
5.6.120.0090.02717.61
5.6.110.0050.04017.85
5.6.100.0080.04417.55
5.6.90.0100.04217.70
5.6.80.0100.03117.48
5.6.70.0050.04217.39
5.6.60.0070.03317.36
5.6.50.0120.03817.39
5.6.40.0040.03017.36
5.6.30.0090.03817.46
5.6.20.0080.04317.30
5.6.10.0050.04417.33
5.6.00.0100.04317.48
5.5.380.0060.00912.79
5.5.370.0090.00612.79
5.5.360.0020.02116.54
5.5.350.0050.03916.58
5.5.340.0020.02916.79
5.5.330.0060.03616.80
5.5.320.0090.03216.77
5.5.310.0000.04916.85
5.5.300.0040.04616.80
5.5.290.0050.04016.79
5.5.280.0090.04116.83
5.5.270.0070.04216.70
5.5.260.0050.04616.79
5.5.250.0080.04116.61
5.5.240.0060.03716.53
5.5.230.0070.04016.46
5.5.220.0060.02716.44
5.5.210.0030.04416.52
5.5.200.0070.04016.50
5.5.190.0050.04116.43
5.5.180.0060.04316.50
5.5.170.0090.00614.34
5.5.160.0070.03816.45
5.5.150.0020.05116.45
5.5.140.0090.03216.51
5.5.130.0040.04216.50
5.5.120.0050.04216.50
5.5.110.0060.03216.51
5.5.100.0040.04516.46
5.5.90.0060.02916.43
5.5.80.0100.03716.45
5.5.70.0040.04416.41
5.5.60.0090.03916.43
5.5.50.0100.03216.38
5.5.40.0070.03516.42
5.5.30.0050.04016.43
5.5.20.0090.03816.43
5.5.10.0060.03816.37
5.5.00.0050.04516.37
5.4.450.0100.04016.10
5.4.440.0070.03816.15
5.4.430.0060.04416.11
5.4.420.0060.04216.03
5.4.410.0070.04016.05
5.4.400.0120.03315.84
5.4.390.0030.03415.97
5.4.380.0060.04115.84
5.4.370.0050.03216.00
5.4.360.0050.04115.95
5.4.350.0040.03915.98
5.4.340.0050.03915.92
5.4.330.0050.00512.79
5.4.320.0150.03215.99
5.4.310.0110.03515.82
5.4.300.0060.03915.96
5.4.290.0020.04515.91
5.4.280.0050.04315.95
5.4.270.0050.03815.86
5.4.260.0090.03715.99
5.4.250.0060.04115.91
5.4.240.0020.03915.83
5.4.230.0040.04115.90
5.4.220.0020.04215.88
5.4.210.0080.03215.90
5.4.200.0030.03615.86
5.4.190.0050.03615.90
5.4.180.0060.03715.94
5.4.170.0040.03915.95
5.4.160.0090.03015.90
5.4.150.0030.04415.90
5.4.140.0090.03614.47
5.4.130.0090.03714.59
5.4.120.0090.02714.58
5.4.110.0040.02214.63
5.4.100.0040.03914.58
5.4.90.0060.04114.60
5.4.80.0030.03814.59
5.4.70.0070.03414.56
5.4.60.0050.03714.66
5.4.50.0030.03214.61
5.4.40.0040.02414.57
5.4.30.0020.02414.53
5.4.20.0090.03014.63
5.4.10.0040.03914.54
5.4.00.0090.03614.30
5.3.290.0090.03613.69
5.3.280.0030.04213.72
5.3.270.0090.03413.71
5.3.260.0060.02013.67
5.3.250.0020.04213.72
5.3.240.0080.02513.70
5.3.230.0070.03113.75
5.3.220.0040.02513.65
5.3.210.0040.02013.64
5.3.200.0050.03013.70
5.3.190.0070.03813.66
5.3.180.0050.03313.74
5.3.170.0080.03313.63
5.3.160.0020.03513.70
5.3.150.0090.02313.71
5.3.140.0080.03913.66
5.3.130.0060.04013.65
5.3.120.0070.04113.64
5.3.110.0070.02313.64
5.3.100.0000.04013.40
5.3.90.0050.02313.40
5.3.80.0030.03413.36
5.3.70.0050.04013.43
5.3.60.0060.03813.38
5.3.50.0070.03613.37
5.3.40.0100.03513.30
5.3.30.0090.02813.40
5.3.20.0050.03313.20
5.3.10.0090.03313.23
5.3.00.0060.04013.25
5.2.170.0020.03412.49
5.2.160.0040.02912.49
5.2.150.0050.03312.49
5.2.140.0090.02712.49
5.2.130.0030.02512.49
5.2.120.0090.03012.49
5.2.110.0030.03612.49
5.2.100.0070.03212.49
5.2.90.0070.03012.49
5.2.80.0040.03212.49
5.2.70.0070.02512.49
5.2.60.0060.02812.49
5.2.50.0050.03012.49
5.2.40.0050.03312.49
5.2.30.0030.03112.49
5.2.20.0100.02812.49
5.2.10.0080.02412.49
5.2.00.0060.02312.49
5.1.60.0050.02212.49
5.1.50.0030.02912.49
5.1.40.0060.02512.49
5.1.30.0060.01812.49
5.1.20.0040.03112.49
5.1.10.0030.02012.49
5.1.00.0090.02012.49
5.0.50.0030.02212.49
5.0.40.0040.02412.49
5.0.30.0050.03012.49
5.0.20.0050.02112.49
5.0.10.0030.02312.49
5.0.00.0080.01812.49
4.4.90.0050.01412.49
4.4.80.0000.02312.49
4.4.70.0020.01912.49
4.4.60.0020.01812.49
4.4.50.0030.01512.49
4.4.40.0040.02212.49
4.4.30.0050.01812.49
4.4.20.0030.02112.49
4.4.10.0050.01412.49
4.4.00.0040.02312.49
4.3.110.0030.02012.49
4.3.100.0070.01512.49
4.3.90.0020.01212.49
4.3.80.0020.03112.49
4.3.70.0100.01212.49
4.3.60.0030.01612.49
4.3.50.0040.01312.49
4.3.40.0000.03112.49
4.3.30.0060.01812.49
4.3.20.0010.02112.49
4.3.10.0020.02012.49
4.3.00.0020.01612.49

preferences:
36.86 ms | 401 KiB | 5 Q