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['ageing_data'] 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.0120.00916.75
8.3.50.0080.01222.08
8.3.40.0120.00319.02
8.3.30.0030.01019.23
8.3.20.0130.00620.34
8.3.10.0050.00221.86
8.3.00.0030.00519.26
8.2.180.0120.00316.63
8.2.170.0090.00622.96
8.2.160.0100.00720.41
8.2.150.0000.00724.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00722.26
8.2.110.0030.00619.17
8.2.100.0110.00017.84
8.2.90.0030.00519.18
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0080.00018.05
8.2.50.0000.00818.10
8.2.40.0050.00319.85
8.2.30.0000.00819.84
8.2.20.0000.00917.80
8.2.10.0070.00018.02
8.2.00.0040.00817.68
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00720.69
8.1.230.0090.00317.89
8.1.220.0000.00917.89
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0000.00818.70
8.1.160.0040.00421.89
8.1.150.0050.00218.55
8.1.140.0040.00417.41
8.1.130.0000.00817.87
8.1.120.0000.00717.36
8.1.110.0060.00317.43
8.1.100.0000.00717.32
8.1.90.0040.00417.35
8.1.80.0000.00717.47
8.1.70.0030.00317.43
8.1.60.0040.00417.59
8.1.50.0030.00517.54
8.1.40.0080.00017.58
8.1.30.0030.00617.46
8.1.20.0080.00017.71
8.1.10.0000.00817.39
8.1.00.0030.00617.33
8.0.300.0030.00619.90
8.0.290.0070.00016.63
8.0.280.0000.00718.44
8.0.270.0040.00417.17
8.0.260.0030.00317.16
8.0.250.0030.00316.86
8.0.240.0040.00416.96
8.0.230.0030.00416.82
8.0.220.0030.00316.89
8.0.210.0050.00216.87
8.0.200.0070.00016.95
8.0.190.0050.00317.01
8.0.180.0040.00416.81
8.0.170.0050.00316.95
8.0.160.0030.00516.82
8.0.150.0040.00416.87
8.0.140.0030.00516.77
8.0.130.0000.00613.36
8.0.120.0040.00416.73
8.0.110.0040.00416.80
8.0.100.0000.00816.70
8.0.90.0000.00716.93
8.0.80.0030.01216.83
8.0.70.0040.00416.71
8.0.60.0020.00516.71
8.0.50.0030.00316.93
8.0.30.0060.01317.05
8.0.20.0120.00717.40
8.0.10.0000.00717.04
8.0.00.0100.00716.71
7.4.330.0000.00515.14
7.4.320.0050.00216.50
7.4.300.0060.00016.53
7.4.290.0070.00016.55
7.4.280.0040.00416.60
7.4.270.0000.00816.54
7.4.260.0000.00716.47
7.4.250.0030.00516.60
7.4.240.0050.00216.53
7.4.230.0050.00316.65
7.4.220.0110.00716.63
7.4.210.0060.01116.59
7.4.200.0040.00416.39
7.4.190.0030.00316.64
7.4.160.0120.00916.46
7.4.150.0070.01117.40
7.4.140.0090.01117.86
7.4.130.0110.00516.48
7.4.120.0100.00916.57
7.4.110.0110.01116.59
7.4.100.0090.01216.43
7.4.90.0130.00316.49
7.4.80.0150.00819.39
7.4.70.0090.00616.48
7.4.60.0070.01016.30
7.4.50.0000.00416.58
7.4.40.0060.01216.57
7.4.30.0110.00516.46
7.4.00.0060.01015.10
7.3.330.0030.00313.05
7.3.320.0030.00313.11
7.3.310.0070.00016.21
7.3.300.0030.00316.28
7.3.290.0100.01016.27
7.3.280.0120.00716.26
7.3.270.0180.00617.40
7.3.260.0100.01316.57
7.3.250.0110.00916.44
7.3.240.0030.01316.26
7.3.230.0090.00916.50
7.3.210.0070.01016.51
7.3.200.0100.00719.39
7.3.190.0130.00416.32
7.3.180.0090.01216.48
7.3.170.0060.01616.57
7.3.160.0120.00316.55
7.3.120.0000.01715.06
7.3.10.0030.01016.23
7.3.00.0130.00216.38
7.2.330.0140.00416.59
7.2.320.0100.01316.53
7.2.310.0090.00916.63
7.2.300.0030.01416.48
7.2.290.0060.01216.73
7.2.130.0100.00516.76
7.2.120.0090.00916.78
7.2.110.0130.00416.84
7.2.100.0080.00716.71
7.2.90.0110.01116.47
7.2.80.0080.01116.65
7.2.70.0100.00316.45
7.2.60.0130.00816.57
7.2.50.0120.00516.67
7.2.40.0050.01016.49
7.2.30.0110.00616.57
7.2.20.0100.00416.57
7.2.10.0060.00716.45
7.2.00.0070.00817.78
7.1.250.0030.00815.30
7.1.200.0040.00715.79
7.1.100.0000.01118.38
7.1.70.0040.00717.03
7.1.60.0130.01019.46
7.1.50.0040.00716.91
7.1.00.0100.07322.48
7.0.200.0250.00914.68
7.0.140.0030.07322.18
7.0.60.0130.08019.95
7.0.50.0030.04317.72
7.0.40.0070.08320.30
7.0.30.0330.06720.30
7.0.20.0200.05020.19
7.0.10.0270.07320.33
7.0.00.0070.06020.29
5.6.210.0130.06320.56
5.6.200.0070.06018.12
5.6.190.0000.04720.46
5.6.180.0330.07320.77
5.6.170.0270.06320.38
5.6.160.0030.09020.38
5.6.150.0130.04018.11
5.6.140.0030.05018.21
5.6.130.0130.06718.08
5.6.120.0070.07721.03
5.6.110.0070.07021.13
5.6.100.0030.07321.02
5.6.90.0070.05321.13
5.6.80.0030.08320.37
5.6.70.4500.03720.34
5.5.350.0100.07720.52
5.5.340.0100.06317.98
5.5.330.0030.04320.37
5.5.320.0330.06320.17
5.5.310.0400.03720.28
5.5.300.0100.08317.86
5.5.290.0100.07017.97
5.5.280.0070.08720.77
5.5.270.0030.07320.75
5.5.260.0070.05320.72
5.5.250.0200.07720.54
5.5.240.0330.05320.18
5.4.450.0570.06319.55
5.4.440.1030.06719.45
5.4.430.0100.05719.68
5.4.420.0130.05319.37
5.4.410.0070.05718.80
5.4.400.0100.05018.66
5.4.390.0070.06718.71
5.4.380.0770.05718.57
5.4.370.0330.05018.73
5.4.360.0470.06018.58
5.4.350.0570.07318.74
5.4.340.0370.07018.73
5.4.320.0070.03412.46
5.4.310.0060.03812.45
5.4.300.0060.03712.46
5.4.290.0150.07612.43
5.4.280.0140.10612.33
5.4.270.0140.09312.33
5.4.260.0110.06212.34
5.4.250.0190.10612.34
5.4.240.0180.07912.34
5.4.230.0090.08512.33
5.4.220.0170.07912.33
5.4.210.0070.06012.32
5.4.200.0100.06212.33
5.4.190.0250.09212.32
5.4.180.0130.08912.32
5.4.170.0110.04612.33
5.4.160.0170.09412.33
5.4.150.0290.08412.32
5.4.140.0120.06712.01
5.4.130.0120.05412.00
5.4.120.0160.10911.96
5.4.110.0280.14911.95
5.4.100.0170.09911.95
5.4.90.0090.04811.95
5.4.80.0180.05911.95
5.4.70.0130.07511.95
5.4.60.0130.07211.95
5.4.50.0110.06411.95
5.4.40.0180.07211.94
5.4.30.0130.07011.94
5.4.20.0100.05811.93
5.4.10.0090.07311.93
5.4.00.0250.11611.43
5.3.290.0070.05112.80
5.3.280.0090.07912.70
5.3.270.0100.08412.72
5.3.260.0090.08412.72
5.3.250.0110.08312.71
5.3.240.0210.10112.72
5.3.230.0120.07212.71
5.3.220.0170.09812.68
5.3.210.0180.08312.68
5.3.200.0080.08312.68
5.3.190.0150.11012.67
5.3.180.0120.08612.67
5.3.170.0220.08012.67
5.3.160.0220.07112.67
5.3.150.0190.08812.68
5.3.140.0180.09312.66
5.3.130.0210.10012.66
5.3.120.0140.11612.66
5.3.110.0140.08812.66
5.3.100.0120.07012.12
5.3.90.0140.06712.09
5.3.80.0160.12412.08
5.3.70.0270.15112.07
5.3.60.0080.06512.06
5.3.50.0100.05612.00
5.3.40.0090.05212.00
5.3.30.0110.07111.95
5.3.20.0180.10211.73
5.3.10.0090.05611.70
5.3.00.0100.05811.68
5.2.170.0220.0519.19
5.2.160.0090.0579.18
5.2.150.0120.0839.19
5.2.140.0130.0669.18
5.2.130.0170.0719.14
5.2.120.0210.0729.14
5.2.110.0160.0539.15
5.2.100.0150.0639.14
5.2.90.0150.0619.14
5.2.80.0100.0829.14
5.2.70.0160.0719.14
5.2.60.0060.0409.09
5.2.50.0070.0479.07
5.2.40.0180.0539.04
5.2.30.0110.0489.02
5.2.20.0130.0509.00
5.2.10.0170.0828.93
5.2.00.0090.0588.80
5.1.60.0110.0458.09
5.1.50.0180.0648.08
5.1.40.0090.0418.07
5.1.30.0250.0558.41
5.1.20.0060.0558.44
5.1.10.0110.0558.16
5.1.00.0130.0608.17
5.0.50.0100.0776.64
5.0.40.0140.0536.50
5.0.30.0160.0786.32
5.0.20.0070.0456.29
5.0.10.0120.0386.26
5.0.00.0070.0466.26
4.4.90.0040.0164.78
4.4.80.0050.0324.76
4.4.70.0050.0284.75
4.4.60.0050.0224.76
4.4.50.0110.0614.77
4.4.40.0040.0404.71
4.4.30.0060.0184.76
4.4.20.0070.0264.84
4.4.10.0060.0184.84
4.4.00.0050.0304.76
4.3.110.0030.0194.67
4.3.100.0050.0194.66
4.3.90.0060.0174.63
4.3.80.0030.0254.59
4.3.70.0020.0164.63
4.3.60.0010.0174.63
4.3.50.0020.0184.62
4.3.40.0030.0254.54
4.3.30.0010.0183.31
4.3.20.0040.0163.29
4.3.10.0030.0163.25
4.3.00.0130.0206.37

preferences:
37.79 ms | 401 KiB | 5 Q