3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[] = array ( 'age' => 'Lower limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 2, 'highlight' => false ); $array[] = array ( 'age' => 'Upper limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' =>3, 'highlight' => false ); $array[] = array ( 'age' => 'Limits:', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => null, 'highlight' => 1 ); $array[] = array ( 'age' => 'Freeze limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 1, 'highlight' => false ); $array2 = array ( 'ageing_data' => $array, ); foreach ($array2 as $row) { print_r(implode('',array_slice($row, 1))); }

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.0130.00616.63
8.3.50.0120.00522.10
8.3.40.0140.00718.84
8.3.30.0070.00719.22
8.3.20.0110.00320.25
8.3.10.0070.00021.83
8.3.00.0040.00419.25
8.2.180.0040.01118.05
8.2.170.0140.00722.96
8.2.160.0070.00720.38
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00422.32
8.2.110.0090.00021.86
8.2.100.0060.00618.03
8.2.90.0060.00319.22
8.2.80.0000.00917.97
8.2.70.0000.00817.50
8.2.60.0040.00419.77
8.2.50.0050.00318.07
8.2.40.0000.00819.80
8.2.30.0080.00019.97
8.2.20.0040.00417.73
8.2.10.0000.00718.16
8.2.00.0060.00317.69
8.1.280.0130.00625.92
8.1.270.0050.00323.79
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0090.00023.96
8.1.230.0000.01019.02
8.1.220.0080.00017.80
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0030.00518.65
8.1.160.0050.00321.93
8.1.150.0000.00818.55
8.1.140.0050.00317.39
8.1.130.0000.00717.83
8.1.120.0070.00017.40
8.1.110.0000.00817.36
8.1.100.0040.00417.37
8.1.90.0040.00317.38
8.1.80.0000.00717.50
8.1.70.0050.00317.27
8.1.60.0000.00817.60
8.1.50.0000.00817.52
8.1.40.0000.00817.55
8.1.30.0000.00817.66
8.1.20.0030.00517.64
8.1.10.0000.00817.48
8.1.00.0040.00417.34
8.0.300.0040.00420.54
8.0.290.0040.00417.04
8.0.280.0030.00318.45
8.0.270.0030.00317.17
8.0.260.0000.00817.32
8.0.250.0030.00316.91
8.0.240.0000.00817.04
8.0.230.0000.00716.85
8.0.220.0000.00816.98
8.0.210.0040.00416.89
8.0.200.0040.00416.90
8.0.190.0040.00417.08
8.0.180.0040.00416.93
8.0.170.0040.00416.91
8.0.160.0050.00217.00
8.0.150.0040.00416.81
8.0.140.0070.00016.80
8.0.130.0030.00313.38
8.0.120.0080.00016.92
8.0.110.0000.00716.80
8.0.100.0040.00416.87
8.0.90.0000.00716.83
8.0.80.0040.01816.86
8.0.70.0040.00416.86
8.0.60.0040.00416.91
8.0.50.0000.00716.75
8.0.30.0140.00517.11
8.0.20.0180.00717.40
8.0.10.0030.00317.14
8.0.00.0120.00716.82
7.4.330.0050.00015.00
7.4.320.0030.00316.40
7.4.300.0070.00016.51
7.4.290.0070.00016.56
7.4.280.0000.00716.50
7.4.270.0030.00316.61
7.4.260.0000.00716.39
7.4.250.0040.00416.39
7.4.240.0050.00216.54
7.4.230.0000.00716.63
7.4.220.0070.01516.59
7.4.210.0040.01316.62
7.4.200.0000.00816.66
7.4.190.0000.00716.65
7.4.160.0000.01916.61
7.4.150.0140.00717.40
7.4.140.0120.00917.86
7.4.130.0100.00616.47
7.4.120.0080.01416.73
7.4.110.0110.00716.21
7.4.100.0120.00916.43
7.4.90.0030.01716.55
7.4.80.0120.01219.39
7.4.70.0140.00916.50
7.4.60.0000.01516.53
7.4.50.0000.00916.26
7.4.40.0100.00616.57
7.4.30.0100.00716.60
7.4.00.0070.00415.03
7.3.330.0000.00613.23
7.3.320.0000.00513.13
7.3.310.0000.00816.38
7.3.300.0030.00316.38
7.3.290.0060.00916.43
7.3.280.0130.00616.38
7.3.270.0030.01517.40
7.3.260.0090.00916.54
7.3.250.0110.01016.38
7.3.240.0130.00316.52
7.3.230.0130.00316.41
7.3.210.0100.00716.42
7.3.200.0140.00819.39
7.3.190.0100.00716.45
7.3.180.0090.00816.30
7.3.170.0130.00316.35
7.3.160.0110.00416.59
7.3.120.0130.00315.01
7.2.330.0070.01116.66
7.2.320.0100.01016.62
7.2.310.0100.00716.64
7.2.300.0100.01016.72
7.2.290.0080.01616.48
7.2.00.0040.01119.22
7.1.100.0030.00918.26
7.1.70.0060.01016.99
7.1.60.0060.00617.05
7.1.50.0120.01216.93
7.1.00.0030.07722.31
7.0.200.0120.00616.68
7.0.140.0000.07721.92
7.0.60.0100.03319.87
7.0.50.0030.07317.80
7.0.40.0000.08320.14
7.0.30.0400.05720.02
7.0.20.0170.04020.33
7.0.10.0200.04720.02
7.0.00.0070.07720.07
5.6.280.0070.09720.86
5.6.210.0030.04020.54
5.6.200.0130.07318.19
5.6.190.0070.07320.46
5.6.180.0600.05720.41
5.6.170.0300.05020.47
5.6.160.0070.06320.40
5.6.150.0170.04718.17
5.6.140.0070.05018.09
5.6.130.0100.03718.20
5.6.120.0130.07020.87
5.6.110.0100.08021.11
5.6.100.0070.08320.95
5.6.90.0000.04721.00
5.6.80.0000.04320.41
5.5.350.0230.07720.37
5.5.340.0070.05718.00
5.5.330.0000.08020.23
5.5.320.0270.05720.32
5.5.310.0270.08020.29
5.5.300.0200.07018.02
5.5.290.0030.05017.87
5.5.280.0130.07720.89
5.5.270.0070.08320.82
5.5.260.0030.05320.75
5.5.250.0000.06320.46
5.5.240.0200.07020.28
5.4.450.0670.06319.47
5.4.440.0970.05319.24
5.4.430.1070.07319.59
5.4.420.1300.06319.27
5.4.410.0700.05319.41
5.4.400.0800.05019.30
5.4.390.0570.06019.27
5.4.380.0230.05718.72
5.4.370.0470.07018.50
5.4.360.0200.05718.61
5.4.350.0230.05718.68
5.4.340.0500.04718.67
5.4.320.0060.03612.45
5.4.310.0080.03912.45
5.4.300.0060.03812.45
5.4.290.0140.07512.44
5.4.280.0140.06912.33
5.4.270.0080.05812.34
5.4.260.0170.08212.33
5.4.250.0130.07212.33
5.4.240.0060.04912.33
5.4.230.0100.05112.32
5.4.220.0080.05412.33
5.4.210.0100.05312.32
5.4.200.0080.05312.33
5.4.190.0100.04912.32
5.4.180.0060.04412.32
5.4.170.0150.09312.34
5.4.160.0070.05012.33
5.4.150.0060.05012.32
5.4.140.0110.05012.01
5.4.130.0100.04812.00
5.4.120.0080.05111.96
5.4.110.0070.05811.95
5.4.100.0100.04511.96
5.4.90.0100.04911.95
5.4.80.0090.06611.96
5.4.70.0090.05011.95
5.4.60.0100.04811.95
5.4.50.0080.04211.95
5.4.40.0030.03711.94
5.4.30.0030.03711.94
5.4.20.0080.03511.93
5.4.10.0080.03411.94
5.4.00.0060.04111.43
5.3.290.0070.04212.80
5.3.280.0140.04212.71
5.3.270.0090.05312.72
5.3.260.0070.05512.71
5.3.250.0060.05512.72
5.3.240.0050.05712.72
5.3.230.0100.04912.71
5.3.220.0090.05912.68
5.3.210.0060.05712.68
5.3.200.0080.05212.68
5.3.190.0100.06612.68
5.3.180.0110.09812.67
5.3.170.0080.04312.67
5.3.160.0070.03812.68
5.3.150.0090.05012.68
5.3.140.0060.03912.66
5.3.130.0060.04912.66
5.3.120.0090.03912.66
5.3.110.0060.03912.66
5.3.100.0050.04312.12
5.3.90.0070.03612.08
5.3.80.0070.03812.07
5.3.70.0090.04412.08
5.3.60.0140.04412.07
5.3.50.0080.05112.00
5.3.40.0050.05212.00
5.3.30.0070.05011.95
5.3.20.0050.04311.73
5.3.10.0100.03411.69
5.3.00.0070.03511.68
5.2.170.0040.0329.18
5.2.160.0030.0319.18
5.2.150.0050.0319.19
5.2.140.0040.0319.18
5.2.130.0060.0299.14
5.2.120.0050.0309.14
5.2.110.0070.0499.15
5.2.100.0050.0349.14
5.2.90.0160.0439.15
5.2.80.0050.0339.14
5.2.70.0050.0369.14
5.2.60.0070.0319.10
5.2.50.0050.0359.06
5.2.40.0040.0309.04
5.2.30.0030.0319.02
5.2.20.0010.0329.00
5.2.10.0030.0328.93
5.2.00.0040.0318.79
5.1.60.0040.0248.07
5.1.50.0090.0288.07
5.1.40.0040.0408.05
5.1.30.0040.0318.40
5.1.20.0050.0378.43
5.1.10.0040.0318.15
5.1.00.0060.0328.16
5.0.50.0030.0326.63
5.0.40.0130.0536.49
5.0.30.0080.0656.30
5.0.20.0040.0246.27
5.0.10.0040.0316.25
5.0.00.0050.0316.24
4.4.90.0020.0174.78
4.4.80.0020.0174.75
4.4.70.0040.0154.76
4.4.60.0040.0154.75
4.4.50.0030.0164.77
4.4.40.0030.0264.71
4.4.30.0030.0164.76
4.4.20.0020.0174.84
4.4.10.0030.0164.85
4.4.00.0020.0264.75
4.3.110.0040.0154.67
4.3.100.0040.0144.66
4.3.90.0020.0164.64
4.3.80.0050.0234.58
4.3.70.0060.0164.63
4.3.60.0020.0224.63
4.3.50.0040.0234.63
4.3.40.0050.0334.54
4.3.30.0060.0223.29
4.3.20.0040.0203.27
4.3.10.0110.0433.23
4.3.00.0030.01310.55

preferences:
41.02 ms | 401 KiB | 5 Q