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_values(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.0110.00716.75
8.3.50.0120.00721.99
8.3.40.0030.01718.60
8.3.30.0070.00719.14
8.3.20.0000.00820.21
8.3.10.0070.00023.47
8.3.00.0080.00019.38
8.2.180.0150.00318.16
8.2.170.0060.00922.96
8.2.160.0140.00720.29
8.2.150.0070.00024.18
8.2.140.0090.00024.66
8.2.130.0020.00526.16
8.2.120.0040.00422.13
8.2.110.0060.00322.26
8.2.100.0110.00017.91
8.2.90.0050.00319.17
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0040.00419.78
8.2.50.0030.00518.07
8.2.40.0000.00819.76
8.2.30.0080.00019.79
8.2.20.0080.00017.65
8.2.10.0050.00318.11
8.2.00.0030.00717.61
8.1.280.0110.00725.92
8.1.270.0080.00023.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00723.91
8.1.230.0110.00018.79
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0000.00817.13
8.1.180.0030.00618.10
8.1.170.0000.00818.51
8.1.160.0000.00722.02
8.1.150.0000.00818.64
8.1.140.0000.00717.44
8.1.130.0000.00717.82
8.1.120.0030.00317.48
8.1.110.0000.00817.46
8.1.100.0060.00317.50
8.1.90.0040.00417.45
8.1.80.0040.00417.47
8.1.70.0000.00717.42
8.1.60.0030.00617.64
8.1.50.0000.00817.56
8.1.40.0000.00717.57
8.1.30.0040.00417.50
8.1.20.0040.00417.48
8.1.10.0070.00017.51
8.1.00.0000.00817.42
8.0.300.0030.00620.86
8.0.290.0040.00417.16
8.0.280.0070.00018.42
8.0.270.0070.00017.17
8.0.260.0030.00317.24
8.0.250.0060.00016.92
8.0.240.0030.00517.00
8.0.230.0070.00016.95
8.0.220.0070.00016.81
8.0.210.0040.00416.84
8.0.200.0000.00716.93
8.0.190.0040.00416.98
8.0.180.0050.00316.99
8.0.170.0040.00416.97
8.0.160.0060.00317.00
8.0.150.0000.00716.99
8.0.140.0000.00716.92
8.0.130.0000.00513.37
8.0.120.0040.00416.90
8.0.110.0050.00216.78
8.0.100.0050.00316.76
8.0.90.0030.00316.97
8.0.80.0080.00816.97
8.0.70.0050.00216.90
8.0.60.0070.00016.82
8.0.50.0050.00316.93
8.0.30.0160.00317.11
8.0.20.0070.01217.40
8.0.10.0070.00016.97
8.0.00.0130.01116.67
7.4.330.0050.00015.00
7.4.320.0030.00316.52
7.4.300.0060.00016.50
7.4.290.0030.00316.55
7.4.280.0060.00316.38
7.4.270.0070.00016.45
7.4.260.0080.00016.60
7.4.250.0080.00016.48
7.4.240.0020.00516.54
7.4.230.0030.00316.59
7.4.220.0100.01016.66
7.4.210.0080.00916.46
7.4.200.0000.00716.60
7.4.190.0000.00716.45
7.4.160.0120.00316.55
7.4.150.0180.00317.40
7.4.140.0120.00517.86
7.4.130.0110.00816.54
7.4.120.0180.00216.44
7.4.110.0070.01016.61
7.4.100.0150.00616.46
7.4.90.0110.00716.63
7.4.80.0130.01019.39
7.4.70.0130.01016.51
7.4.60.0070.00916.53
7.4.50.0040.00416.63
7.4.40.0090.00616.53
7.4.30.0070.01016.32
7.4.00.0040.01415.12
7.3.330.0000.00613.14
7.3.320.0000.00513.30
7.3.310.0070.00016.29
7.3.300.0030.00316.43
7.3.290.0060.01316.45
7.3.280.0050.01116.39
7.3.270.0080.00817.40
7.3.260.0030.01516.41
7.3.250.0130.00716.45
7.3.240.0130.00616.53
7.3.230.0110.00616.40
7.3.210.0100.00616.55
7.3.200.0070.01719.39
7.3.190.0100.00816.28
7.3.180.0120.00316.29
7.3.170.0040.01616.48
7.3.160.0040.01116.48
7.3.120.0070.01014.92
7.3.10.0070.00316.75
7.3.00.0000.01216.71
7.2.330.0110.00916.44
7.2.320.0120.00816.70
7.2.310.0060.01016.75
7.2.300.0030.01316.29
7.2.290.0060.01216.48
7.2.130.0040.00816.81
7.2.120.0030.00517.05
7.2.110.0060.00616.62
7.2.100.0040.00816.93
7.2.90.0030.01016.72
7.2.80.0080.00816.99
7.2.70.0070.00416.61
7.2.60.0040.00817.02
7.2.50.0080.00316.79
7.2.40.0030.01316.90
7.2.30.0080.00316.82
7.2.20.0080.00317.07
7.2.10.0080.00416.61
7.2.00.0030.00918.10
7.1.250.0030.00815.84
7.1.240.0040.00415.47
7.1.230.0090.00315.79
7.1.220.0040.00415.97
7.1.210.0040.00715.76
7.1.200.0090.00315.54
7.1.190.0040.00815.97
7.1.180.0000.00815.94
7.1.170.0060.00615.74
7.1.160.0030.00715.97
7.1.150.0130.00015.83
7.1.140.0030.01015.96
7.1.130.0030.00515.85
7.1.120.0040.00715.99
7.1.110.0060.00315.89
7.1.100.0060.00616.83
7.1.90.0060.00615.81
7.1.80.0000.00916.01
7.1.70.0020.00816.40
7.1.60.0080.01117.51
7.1.50.0070.01216.33
7.1.40.0050.00515.62
7.1.30.0070.00315.78
7.1.20.0000.01115.91
7.1.10.0050.00515.59
7.1.00.0070.03519.09
7.0.330.0040.00815.04
7.0.320.0000.01315.05
7.0.310.0040.00815.44
7.0.300.0030.00515.23
7.0.290.0030.00915.31
7.0.280.0060.00315.29
7.0.270.0040.00715.28
7.0.260.0030.00515.35
7.0.250.0030.00615.38
7.0.240.0110.00015.33
7.0.230.0030.00615.55
7.0.220.0000.00815.17
7.0.210.0070.00415.38
7.0.200.0130.00515.29
7.0.190.0030.01015.59
7.0.180.0000.00815.34
7.0.170.0000.01315.38
7.0.160.0130.00015.46
7.0.150.0100.00015.18
7.0.140.0030.04018.66
7.0.130.0000.01015.37
7.0.120.0040.00715.14
7.0.110.0030.00715.41
7.0.100.0040.02217.66
7.0.90.0050.02317.70
7.0.80.0040.02717.80
7.0.70.0040.02417.53
7.0.60.0050.02317.57
7.0.50.0170.02317.82
7.0.40.0070.03716.83
7.0.30.0050.03216.71
7.0.20.0030.03016.66
7.0.10.0070.02216.64
7.0.00.0030.04916.68
5.6.380.0000.00814.70
5.6.370.0110.00314.24
5.6.360.0030.00614.48
5.6.350.0130.00013.91
5.6.340.0040.00414.04
5.6.330.0000.01313.96
5.6.320.0030.00914.30
5.6.310.0050.00514.12
5.6.300.0030.01014.50
5.6.290.0030.00714.40
5.6.280.0070.03517.57
5.6.270.0040.00714.30
5.6.260.0100.00314.41
5.6.250.0030.02517.50
5.6.240.0030.02317.37
5.6.230.0030.02617.37
5.6.220.0050.02817.38
5.6.210.0090.01817.43
5.6.200.0090.02017.82
5.6.190.0080.01817.64
5.6.180.0070.02817.67
5.6.170.0030.03817.72
5.6.160.0050.04517.81
5.6.150.0050.04517.81
5.6.140.0070.02717.80
5.6.130.0120.03917.76
5.6.120.0100.03317.68
5.6.110.0100.02317.74
5.6.100.0110.03817.68
5.6.90.0100.04417.66
5.6.80.0080.03317.28
5.6.70.0090.03917.44
5.6.60.0050.04117.28
5.6.50.0050.02417.39
5.6.40.0030.03517.31
5.6.30.0090.04117.42
5.6.20.0060.02517.37
5.6.10.0150.01617.17
5.6.00.0070.04017.29
5.5.380.0020.02415.70
5.5.370.0050.02015.77
5.5.360.0040.02615.77
5.5.350.0020.02615.67
5.5.340.0070.02016.04
5.5.330.0060.02015.94
5.5.320.0020.02915.99
5.5.310.0030.02416.00
5.5.300.0090.03416.00
5.5.290.0030.03815.95
5.5.280.0050.04316.07
5.5.270.0050.04515.95
5.5.260.0070.04315.96
5.5.250.0090.03615.74
5.5.240.0060.04215.65
5.5.230.0070.02515.65
5.5.220.0000.03315.49
5.5.210.0080.02515.67
5.5.200.0080.03815.71
5.5.190.0100.03815.61
5.5.180.0130.03515.63
5.5.170.0060.00311.10
5.5.160.0040.04515.71
5.5.150.0070.03915.51
5.5.140.0030.04315.53
5.5.130.0040.03515.49
5.5.120.0060.03815.45
5.5.110.0020.04415.60
5.5.100.0060.04115.56
5.5.90.0070.04315.44
5.5.80.0120.03715.43
5.5.70.0100.03715.48
5.5.60.0030.03115.48
5.5.50.0080.03715.40
5.5.40.0050.04015.37
5.5.30.0110.02015.41
5.5.20.0070.04215.62
5.5.10.0030.04515.59
5.5.00.0010.04815.55
5.4.450.0050.04015.25
5.4.440.0130.03515.27
5.4.430.0030.04415.13
5.4.420.0080.04015.31
5.4.410.0050.02615.10
5.4.400.0070.03515.05
5.4.390.0100.02415.01
5.4.380.0080.03714.99
5.4.370.0050.03914.98
5.4.360.0050.03915.09
5.4.350.0050.04015.13
5.4.340.0050.04414.86
5.4.330.0080.00011.07
5.4.320.0060.04115.03
5.4.310.0060.01814.98
5.4.300.0060.02315.02
5.4.290.0080.02714.97
5.4.280.0050.04314.98
5.4.270.0080.03614.86
5.4.260.0130.03214.78
5.4.250.0080.02714.72
5.4.240.0050.03815.02
5.4.230.0030.03914.97
5.4.220.0030.04414.95
5.4.210.0050.04014.90
5.4.200.0070.03014.94
5.4.190.0060.02714.92
5.4.180.0010.02314.84
5.4.170.0070.02514.87
5.4.160.0070.03815.07
5.4.150.0120.03515.09
5.4.140.0080.03713.43
5.4.130.0080.03713.69
5.4.120.0050.04013.47
5.4.110.0080.03113.76
5.4.100.0070.03313.50
5.4.90.0060.02513.63
5.4.80.0060.03913.68
5.4.70.0080.03613.74
5.4.60.0060.02813.54
5.4.50.0080.03113.56
5.4.40.0100.03513.68
5.4.30.0040.04113.57
5.4.20.0100.03513.74
5.4.10.0080.02513.58
5.4.00.0050.03713.29
5.3.290.0020.04512.54
5.3.280.0080.04012.57
5.3.270.0070.03712.54
5.3.260.0030.03412.48
5.3.250.0080.02512.52
5.3.240.0030.02012.36
5.3.230.0060.02512.55
5.3.220.0060.04012.46
5.3.210.0060.04112.49
5.3.200.0050.04112.56
5.3.190.0020.02512.61
5.3.180.0020.03612.68
5.3.170.0050.03512.65
5.3.160.0020.02712.59
5.3.150.0050.03812.57
5.3.140.0050.03912.60
5.3.130.0070.04012.55
5.3.120.0090.03812.58
5.3.110.0070.02112.56
5.3.100.0100.03412.37
5.3.90.0050.02312.43
5.3.80.0020.04012.33
5.3.70.0080.03612.38
5.3.60.0020.02512.33
5.3.50.0020.04112.36
5.3.40.0030.03912.38
5.3.30.0050.03712.33
5.3.20.0030.04312.21
5.3.10.0050.03812.19
5.3.00.0000.03512.22
5.2.170.0030.03511.92
5.2.160.0050.03011.92
5.2.150.0050.03111.92
5.2.140.0000.02311.92
5.2.130.0060.03211.92
5.2.120.0050.03211.92
5.2.110.0030.03211.92
5.2.100.0050.03411.92
5.2.90.0090.01311.92
5.2.80.0080.03111.92
5.2.70.0020.03011.92
5.2.60.0020.04211.92
5.2.50.0050.02811.92
5.2.40.0030.03311.92
5.2.30.0080.03111.92
5.2.20.0020.03311.92
5.2.10.0080.02811.92
5.2.00.0040.03411.92
5.1.60.0000.03111.92
5.1.50.0040.01511.92
5.1.40.0080.02311.92
5.1.30.0040.01911.92
5.1.20.0070.02511.92
5.1.10.0050.02811.92
5.1.00.0020.02911.92
5.0.50.0040.02311.92
5.0.40.0020.02411.92
5.0.30.0050.03011.92
5.0.20.0000.02411.92
5.0.10.0020.02211.92
5.0.00.0000.02811.92
4.4.90.0020.01911.92
4.4.80.0020.01811.92
4.4.70.0040.01711.92
4.4.60.0040.01711.92
4.4.50.0020.02011.92
4.4.40.0030.02811.92
4.4.30.0030.01711.92
4.4.20.0030.01511.92
4.4.10.0080.01311.92
4.4.00.0030.03011.92
4.3.110.0000.02111.92
4.3.100.0020.01911.92
4.3.90.0050.01511.92
4.3.80.0000.03011.92
4.3.70.0020.01011.92
4.3.60.0020.02011.92
4.3.50.0030.01511.92
4.3.40.0000.02711.92
4.3.30.0000.02211.92
4.3.20.0050.01011.92
4.3.10.0050.01611.92
4.3.00.0030.01011.92

preferences:
45.49 ms | 401 KiB | 5 Q