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_column($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.0160.00316.75
8.3.50.0120.00921.98
8.3.40.0140.00718.88
8.3.30.0100.00318.98
8.3.20.0080.00420.22
8.3.10.0000.00721.91
8.3.00.0060.00319.00
8.2.180.0080.00818.41
8.2.170.0070.00722.96
8.2.160.0100.00320.44
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00021.88
8.2.110.0030.00622.11
8.2.100.0090.00317.91
8.2.90.0050.00219.41
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0080.00019.77
8.2.50.0030.00618.07
8.2.40.0030.00520.07
8.2.30.0000.00819.90
8.2.20.0050.00317.64
8.2.10.0050.00318.12
8.2.00.0110.00017.77
8.1.280.0070.00725.92
8.1.270.0040.00423.96
8.1.260.0000.00926.35
8.1.250.0040.00428.09
8.1.240.0060.00323.87
8.1.230.0070.00319.00
8.1.220.0080.00017.75
8.1.210.0030.00518.77
8.1.200.0030.00617.48
8.1.190.0000.00817.36
8.1.180.0060.00618.10
8.1.170.0000.00818.57
8.1.160.0040.00421.97
8.1.150.0000.00718.63
8.1.140.0080.00017.45
8.1.130.0040.00417.70
8.1.120.0000.00717.35
8.1.110.0000.00717.45
8.1.100.0030.00517.46
8.1.90.0070.00017.48
8.1.80.0000.00717.31
8.1.70.0000.00717.43
8.1.60.0060.00317.49
8.1.50.0050.00317.49
8.1.40.0000.00817.43
8.1.30.0030.00617.63
8.1.20.0040.00417.52
8.1.10.0050.00217.54
8.1.00.0000.00917.38
8.0.300.0050.00320.73
8.0.290.0070.00017.18
8.0.280.0000.00718.43
8.0.270.0000.00717.34
8.0.260.0060.00017.32
8.0.250.0050.00216.94
8.0.240.0000.00716.82
8.0.230.0030.00316.99
8.0.220.0050.00316.84
8.0.210.0040.00416.95
8.0.200.0000.00716.96
8.0.190.0040.00416.84
8.0.180.0000.00816.76
8.0.170.0030.00316.84
8.0.160.0050.00316.89
8.0.150.0000.00716.86
8.0.140.0040.00416.86
8.0.130.0000.00613.30
8.0.120.0000.00816.88
8.0.110.0000.00816.82
8.0.100.0040.00416.82
8.0.90.0030.00316.79
8.0.80.0060.00916.87
8.0.70.0000.00716.77
8.0.60.0000.00716.76
8.0.50.0000.00716.91
8.0.30.0100.00917.18
8.0.20.0060.01317.40
8.0.10.0040.00417.07
8.0.00.0110.00716.73
7.4.330.0050.00015.00
7.4.320.0000.00616.51
7.4.300.0030.00316.51
7.4.290.0040.00416.39
7.4.280.0080.00016.45
7.4.270.0050.00216.50
7.4.260.0070.00016.52
7.4.250.0000.00716.42
7.4.240.0050.00216.58
7.4.230.0000.00716.35
7.4.220.0100.01316.61
7.4.210.0030.01316.60
7.4.200.0040.00416.40
7.4.190.0000.00716.70
7.4.160.0030.01316.57
7.4.150.0110.00717.40
7.4.140.0110.00917.86
7.4.130.0060.01116.47
7.4.120.0110.00716.53
7.4.110.0100.00716.57
7.4.100.0120.00616.52
7.4.90.0140.00316.52
7.4.80.0090.01319.39
7.4.70.0100.00716.43
7.4.60.0110.00416.61
7.4.50.0030.00716.39
7.4.40.0080.00816.38
7.4.30.0060.00916.65
7.4.00.0060.00815.11
7.3.330.0000.00513.17
7.3.320.0060.00013.17
7.3.310.0000.00716.30
7.3.300.0040.00416.29
7.3.290.0130.00016.33
7.3.280.0070.01016.31
7.3.270.0120.00817.40
7.3.260.0140.00316.36
7.3.250.0090.00816.41
7.3.240.0040.01316.37
7.3.230.0030.01316.39
7.3.210.0040.01416.32
7.3.200.0130.00919.39
7.3.190.0120.00816.34
7.3.180.0130.00316.53
7.3.170.0070.01016.48
7.3.160.0090.00616.28
7.3.120.0060.00914.99
7.3.110.0140.00314.82
7.3.100.0000.01715.08
7.3.90.0080.00614.82
7.3.80.0150.00414.88
7.3.70.0070.01014.85
7.3.60.0070.00714.64
7.3.50.0120.00314.80
7.3.40.0070.00714.64
7.3.30.0040.00814.60
7.3.20.0040.00716.81
7.3.10.0080.00816.75
7.3.00.0060.00616.61
7.2.330.0120.00416.52
7.2.320.0080.01216.67
7.2.310.0030.01316.32
7.2.300.0130.00316.79
7.2.290.0150.00416.40
7.2.250.0030.01014.86
7.2.240.0100.00715.22
7.2.230.0070.01015.22
7.2.220.0030.01014.80
7.2.210.0040.00715.13
7.2.200.0130.00015.09
7.2.190.0000.01015.11
7.2.180.0080.00614.98
7.2.170.0070.00715.02
7.2.160.0030.01314.78
7.2.150.0030.00916.82
7.2.140.0040.01116.48
7.2.130.0040.00916.89
7.2.120.0030.00916.84
7.2.110.0050.00917.09
7.2.100.0090.00416.61
7.2.90.0050.00716.82
7.2.80.0070.00616.87
7.2.70.0060.00816.83
7.2.60.0070.00716.96
7.2.50.0050.00716.97
7.2.40.0060.00416.79
7.2.30.0070.01016.84
7.2.20.0030.01216.59
7.2.10.0050.00716.89
7.2.00.0030.01117.72
7.1.330.0080.01015.85
7.1.320.0070.01015.82
7.1.310.0040.01515.69
7.1.300.0070.00415.73
7.1.290.0060.00315.77
7.1.280.0040.00415.58
7.1.270.0070.00716.00
7.1.260.0040.00715.97
7.1.250.0010.00915.91
7.1.240.0020.01115.78
7.1.230.0000.01315.74
7.1.220.0070.00415.63
7.1.210.0040.00715.88
7.1.200.0040.00815.86
7.1.190.0050.00715.71
7.1.180.0030.00715.91
7.1.170.0040.00615.83
7.1.160.0050.00815.78
7.1.150.0060.00815.93
7.1.140.0070.00715.71
7.1.130.0070.00715.75
7.1.120.0030.01015.73
7.1.110.0020.01215.76
7.1.100.0030.00916.62
7.1.90.0070.00715.71
7.1.80.0050.00715.89
7.1.70.0030.00916.27
7.1.60.0060.01117.04
7.1.50.0070.00616.25
7.1.40.0070.00815.79
7.1.30.0070.00715.96
7.1.20.0030.00615.52
7.1.10.0070.00715.95
7.1.00.0060.02917.91
7.0.330.0070.00415.30
7.0.320.0050.00715.37
7.0.310.0050.00515.43
7.0.300.0020.00715.22
7.0.290.0040.01015.16
7.0.280.0030.00815.38
7.0.270.0090.00515.34
7.0.260.0060.00615.22
7.0.250.0030.00715.33
7.0.240.0040.00715.30
7.0.230.0090.00315.42
7.0.220.0070.00515.38
7.0.210.0060.00815.37
7.0.200.0120.00815.08
7.0.190.0090.00515.33
7.0.180.0050.00815.26
7.0.170.0110.00415.49
7.0.160.0050.00715.41
7.0.150.0030.00615.39
7.0.140.0040.02917.65
7.0.130.0080.00715.32
7.0.120.0050.00315.58
7.0.110.0060.00515.43
7.0.100.0060.00815.48
7.0.90.0050.00515.46
7.0.80.0050.01115.26
7.0.70.0060.00615.20
7.0.60.0080.01816.99
7.0.50.0030.01916.35
7.0.40.0060.01715.65
7.0.30.0190.03015.60
7.0.20.0100.02315.66
7.0.10.0040.03215.58
7.0.00.0010.02015.65
5.6.400.0060.00914.35
5.6.390.0070.00714.63
5.6.380.0030.00914.44
5.6.370.0070.00714.39
5.6.360.0030.00814.59
5.6.350.0070.00914.43
5.6.340.0090.00514.16
5.6.330.0090.00814.46
5.6.320.0040.00814.41
5.6.310.0050.00714.56
5.6.300.0050.00714.20
5.6.290.0050.00714.67
5.6.280.0020.03116.63
5.6.270.0040.00714.61
5.6.260.0030.00814.24
5.6.250.0070.00714.38
5.6.240.0070.00714.41
5.6.230.0050.00514.39
5.6.220.0040.00914.40
5.6.210.0070.03416.38
5.6.200.0060.01815.51
5.6.190.0060.03316.44
5.6.180.0170.02716.40
5.6.170.0160.01516.38
5.6.160.0060.03116.32
5.6.150.0030.02815.62
5.6.140.0110.02915.75
5.6.130.0100.02715.68
5.6.120.0110.02816.48
5.6.110.0020.02216.46
5.6.100.0060.01916.64
5.6.90.0030.02016.51
5.6.80.0100.02416.44
5.6.70.0040.00614.16
5.6.60.0030.00814.23
5.6.50.0030.00913.99
5.6.40.0080.00814.17
5.6.30.0040.01114.20
5.6.20.0030.01014.20
5.6.10.0060.00614.06
5.6.00.0010.01014.20
5.5.380.0030.01012.71
5.5.370.0050.00912.75
5.5.360.0080.00312.75
5.5.350.0070.03215.36
5.5.340.0010.02114.50
5.5.330.0000.02815.23
5.5.320.0150.02915.28
5.5.310.0120.03215.24
5.5.300.0070.03014.50
5.5.290.0020.02014.52
5.5.280.0110.02715.37
5.5.270.0030.03715.41
5.5.260.0110.02815.34
5.5.250.0110.02515.34
5.5.240.0100.02815.26
5.5.230.0020.01012.68
5.5.220.0020.00912.78
5.5.210.0020.01112.60
5.5.200.0050.00712.70
5.5.190.0080.00512.69
5.5.180.0020.00712.78
5.5.170.0050.00612.66
5.5.160.0080.00212.67
5.5.150.0020.01212.67
5.5.140.0070.00412.65
5.5.130.0020.00812.74
5.5.120.0050.00512.80
5.5.110.0060.00912.58
5.5.100.0030.01012.79
5.5.90.0060.00412.75
5.5.80.0030.00512.85
5.5.70.0050.00812.81
5.5.60.0060.00612.78
5.5.50.0040.01112.67
5.5.40.0070.00512.75
5.5.30.0100.00312.69
5.5.20.0060.00812.88
5.5.10.0060.00612.74
5.5.00.0050.00512.68
5.4.450.0030.02114.13
5.4.440.0010.02614.25
5.4.430.0010.02414.13
5.4.420.0030.02814.29
5.4.410.0030.02514.19
5.4.400.0050.01914.15
5.4.390.0040.02914.14
5.4.380.0010.02714.14
5.4.370.0050.02814.18
5.4.360.0070.02714.15
5.4.350.0030.03014.19
5.4.340.0030.02914.02
5.4.330.0050.00711.64
5.4.320.0070.02714.14
5.4.310.0030.03114.02
5.4.300.0020.03014.12
5.4.290.0050.02614.02
5.4.280.0080.02514.12
5.4.270.0020.02014.14
5.4.260.0020.03014.11
5.4.250.0060.02614.12
5.4.240.0040.02214.06
5.4.230.0050.03014.03
5.4.220.0000.02114.12
5.4.210.0060.02014.03
5.4.200.0040.02714.15
5.4.190.0080.02614.02
5.4.180.0040.03114.12
5.4.170.0000.03514.17
5.4.160.0050.02714.12
5.4.150.0050.02714.05
5.4.140.0040.01913.25
5.4.130.0040.02713.20
5.4.120.0020.02613.22
5.4.110.0030.02213.22
5.4.100.0020.01713.22
5.4.90.0050.01513.26
5.4.80.0050.01613.22
5.4.70.0030.02913.22
5.4.60.0070.01713.25
5.4.50.0000.03113.15
5.4.40.0040.02413.21
5.4.30.0060.02413.23
5.4.20.0050.02713.21
5.4.10.0040.02513.11
5.4.00.0030.01813.06
5.3.290.0090.02412.63
5.3.280.0060.01712.58
5.3.270.0070.02012.58
5.3.260.0040.02412.62
5.3.250.0040.02912.66
5.3.240.0000.02312.66
5.3.230.0030.02412.62
5.3.220.0030.02112.64
5.3.210.0010.02312.56
5.3.200.0030.02212.56
5.3.190.0030.01712.58
5.3.180.0020.02312.63
5.3.170.0030.03012.61
5.3.160.0020.02712.57
5.3.150.0050.01712.59
5.3.140.0030.02812.60
5.3.130.0050.02912.56
5.3.120.0020.02512.59
5.3.110.0060.01512.56
5.3.100.0060.02312.39
5.3.90.0050.02512.45
5.3.80.0020.02812.38
5.3.70.0050.02612.42
5.3.60.0040.02512.41
5.3.50.0040.02812.36
5.3.40.0040.03212.34
5.3.30.0050.01612.33
5.3.20.0060.02612.31
5.3.10.0020.02412.27
5.3.00.0040.02612.27
5.2.170.0020.03211.47
5.2.160.0040.03111.47
5.2.150.0000.03111.47
5.2.140.0050.01911.47
5.2.130.0020.03211.47
5.2.120.0040.03011.47
5.2.110.0030.02311.47
5.2.100.0050.03411.47
5.2.90.0020.03111.47
5.2.80.0020.03411.47
5.2.70.0080.01811.47
5.2.60.0050.03511.47
5.2.50.0050.02811.47
5.2.40.0040.02111.47
5.2.30.0060.03211.47
5.2.20.0060.01511.47
5.2.10.0060.02811.47
5.2.00.0030.02211.47
5.1.60.0000.02411.47
5.1.50.0020.02311.47
5.1.40.0030.01911.47
5.1.30.0040.02911.47
5.1.20.0000.02411.47
5.1.10.0030.02711.47
5.1.00.0020.02211.47
5.0.50.0030.01511.47
5.0.40.0020.02411.47
5.0.30.0020.02311.47
5.0.20.0050.01511.47
5.0.10.0030.02111.47
5.0.00.0020.02211.47
4.4.90.0020.01911.47
4.4.80.0010.02011.47
4.4.70.0010.01811.47
4.4.60.0000.01211.47
4.4.50.0020.02011.47
4.4.40.0020.02711.47
4.4.30.0020.01911.47
4.4.20.0030.01211.47
4.4.10.0000.02011.47
4.4.00.0000.01811.47
4.3.110.0030.01811.47
4.3.100.0020.00811.47
4.3.90.0040.01511.47
4.3.80.0040.01211.47
4.3.70.0000.00911.47
4.3.60.0050.01311.47
4.3.50.0020.01711.47
4.3.40.0030.02111.47
4.3.30.0000.01211.47
4.3.20.0000.01211.47
4.3.10.0000.01711.47
4.3.00.0020.01311.47

preferences:
48.3 ms | 401 KiB | 5 Q