3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myArray = [ 'person_1@gmail.com' => [ '2017-01-05' =>[ 'this is line one', 'this is line two', ], '2016-05-05' => [ 'this is another line', 'and this is a fourth line' ], '2017-07-10' => [ 'more lines', 'yet another line' ], ], 'person_2@gmail.com' => [ '2015-01-01' => ['line for person_2'], ] ]; foreach($myArray as $key=>$value){ krsort($myArray[$key]); } print_r($myArray);

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.40.0070.00718.67
8.3.30.0090.00618.54
8.3.20.0000.00822.04
8.3.10.0080.00021.95
8.3.00.0030.00519.13
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00819.48
8.2.110.0030.00620.41
8.2.100.0070.00418.16
8.2.90.0040.00419.22
8.2.80.0030.00518.03
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0040.00418.10
8.2.40.0020.00520.47
8.2.30.0040.00420.97
8.2.20.0000.00818.05
8.2.10.0040.00418.02
8.2.00.0000.00718.09
8.1.270.0060.00622.02
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00623.86
8.1.230.0110.00019.17
8.1.220.0050.00317.76
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0000.00817.22
8.1.180.0080.00018.10
8.1.170.0030.00518.52
8.1.160.0040.00419.10
8.1.150.0000.00820.58
8.1.140.0050.00319.48
8.1.130.0000.00718.89
8.1.120.0050.00217.44
8.1.110.0040.00417.31
8.1.100.0030.00517.43
8.1.90.0000.00817.38
8.1.80.0000.00717.49
8.1.70.0060.00317.35
8.1.60.0000.01017.51
8.1.50.0030.00517.39
8.1.40.0030.00617.47
8.1.30.0040.00417.64
8.1.20.0000.00717.54
8.1.10.0000.00817.52
8.1.00.0080.00017.39
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.32
8.0.270.0070.00017.27
8.0.260.0000.00616.72
8.0.250.0000.00616.95
8.0.240.0070.00416.86
8.0.230.0030.00616.92
8.0.220.0000.00716.92
8.0.210.0040.00416.96
8.0.200.0030.00316.81
8.0.190.0000.00716.78
8.0.180.0080.00016.84
8.0.170.0030.00316.81
8.0.160.0050.00517.00
8.0.150.0000.00716.86
8.0.140.0000.00716.86
8.0.130.0000.00613.27
8.0.120.0040.00416.82
8.0.110.0080.00016.81
8.0.100.0000.00816.93
8.0.90.0000.00816.84
8.0.80.0070.01016.83
8.0.70.0070.00016.67
8.0.60.0030.00516.73
8.0.50.0070.00016.73
8.0.30.0040.01417.07
8.0.20.0110.00717.40
8.0.10.0040.00417.12
8.0.00.0030.01316.73
7.4.330.0020.00215.55
7.4.320.0060.00016.58
7.4.300.0030.00316.65
7.4.290.0000.00916.58
7.4.280.0040.00416.52
7.4.270.0080.00016.52
7.4.260.0070.00016.59
7.4.250.0050.00216.44
7.4.240.0030.00316.60
7.4.230.0000.00816.52
7.4.220.0090.01816.55
7.4.210.0130.00016.62
7.4.200.0020.00516.59
7.4.160.0110.00616.53
7.4.150.0140.00717.40
7.4.140.0120.00917.86
7.4.130.0070.01416.60
7.4.120.0090.01016.58
7.4.110.0090.01116.54
7.4.100.0070.01116.57
7.4.90.0090.00916.32
7.4.80.0080.00919.39
7.4.70.0060.00916.53
7.4.60.0100.00716.36
7.4.50.0110.00716.33
7.4.40.0100.00716.64
7.4.30.0070.01316.58
7.4.00.0050.00914.97
7.3.330.0040.00313.23
7.3.320.0050.00013.08
7.3.310.0030.00316.13
7.3.300.0030.00316.21
7.3.290.0090.00416.37
7.3.280.0060.01016.31
7.3.270.0140.00317.40
7.3.260.0110.00816.30
7.3.250.0110.00616.28
7.3.240.0110.00516.38
7.3.230.0130.01616.42
7.3.210.0100.00616.56
7.3.200.0160.00016.37
7.3.190.0040.01216.35
7.3.180.0140.00616.36
7.3.170.0030.01316.37
7.3.160.0060.00916.66
7.3.120.0050.00914.86
7.3.110.0050.00814.72
7.3.100.0000.01615.06
7.3.90.0100.00514.75
7.3.80.0060.01214.79
7.3.70.0060.00814.75
7.3.60.0050.01014.56
7.3.50.0090.00514.63
7.3.40.0060.00614.84
7.3.30.0070.00714.74
7.3.20.0080.00515.72
7.3.10.0030.01115.59
7.3.00.0030.01215.63
7.2.330.0100.01316.72
7.2.320.0090.00916.70
7.2.310.0130.00316.73
7.2.300.0090.00916.66
7.2.290.0070.01016.45
7.2.250.0050.00915.30
7.2.240.0070.00815.05
7.2.230.0080.00615.09
7.2.220.0040.01214.93
7.2.210.0080.00814.92
7.2.200.0100.00814.79
7.2.190.0050.00814.84
7.2.180.0110.00315.13
7.2.170.0060.00514.80
7.2.160.0020.01414.91
7.2.150.0040.00815.96
7.2.140.0080.01015.78
7.2.130.0080.00716.08
7.2.120.0040.01015.91
7.2.110.0050.01115.90
7.2.100.0090.00415.79
7.2.90.0080.00815.89
7.2.80.0090.00615.78
7.2.70.0080.00715.75
7.2.60.0070.00716.25
7.2.50.0080.00715.93
7.2.40.0060.00816.04
7.2.30.0080.00716.01
7.2.20.0060.00615.83
7.2.10.0080.00615.91
7.2.00.0060.01116.91
7.1.330.0110.00714.69
7.1.320.0150.00514.95
7.1.310.0040.01214.79
7.1.300.0110.00614.67
7.1.290.0090.00814.67
7.1.280.0090.00814.71
7.1.270.0080.01114.68
7.1.260.0080.01014.82
7.1.250.0080.00914.76
7.1.240.0040.01714.14
7.1.230.0110.01014.10
7.1.220.0140.00614.20
7.1.210.0380.01014.07
7.1.200.0120.00614.89
7.1.190.0140.00713.95
7.1.180.0140.00714.04
7.1.170.0160.00413.62
7.1.160.0150.00813.84
7.1.150.0140.00513.96
7.1.140.0140.01113.79
7.1.130.0130.01213.85
7.1.120.0130.00913.70
7.1.110.0170.00313.56
7.1.100.0100.00515.98
7.1.90.0090.01313.80
7.1.80.0140.00413.79
7.1.70.0070.01315.47
7.1.60.0220.00824.23
7.1.50.0170.01224.46
7.1.40.0080.01524.01
7.1.30.0160.01124.19
7.1.20.0170.01524.26
7.1.10.0090.01015.25
7.1.00.0150.00815.36
7.0.330.0120.00613.59
7.0.320.0080.01213.36
7.0.310.0150.00413.20
7.0.300.0150.01213.13
7.0.290.0190.00313.53
7.0.280.0220.00413.21
7.0.270.0190.00813.41
7.0.260.0130.00913.40
7.0.250.0260.00813.29
7.0.240.0090.01213.30
7.0.230.0140.00813.59
7.0.220.0120.00913.48
7.0.210.0120.00813.49
7.0.200.0120.00815.18
7.0.190.0170.00414.98
7.0.180.0120.00814.89
7.0.170.0080.01214.77
7.0.160.0100.01015.04
7.0.150.0150.01015.11
7.0.140.0160.00614.95
7.0.130.0110.00915.13
7.0.120.0080.01215.11
7.0.110.0090.01114.89
7.0.100.0240.00514.94
7.0.90.0120.01114.95
7.0.80.0110.00814.96
7.0.70.0080.01414.95
7.0.60.0140.00714.70
7.0.50.0130.00714.99
7.0.40.0120.01015.15
7.0.30.0090.01114.99
7.0.20.0080.01115.08
7.0.10.0150.00815.14
7.0.00.0120.01015.02
5.6.400.0100.01414.23
5.6.390.0110.01114.05
5.6.380.0220.00014.09
5.6.370.0090.01214.53
5.6.360.0120.01214.25
5.6.350.0120.00714.55
5.6.340.0160.00813.93
5.6.330.0160.01314.51
5.6.320.0080.01714.16
5.6.310.0220.00514.39
5.6.300.0140.01714.43
5.6.290.0200.00914.32
5.6.280.0170.00314.31
5.6.270.0260.00214.41
5.6.260.0220.00314.56
5.6.250.0220.00614.75
5.6.240.0150.01514.40
5.6.230.0240.00514.45
5.6.220.0210.00614.29
5.6.210.0190.00714.15
5.6.200.0240.00614.46
5.6.190.0120.01214.28
5.6.180.0170.00714.44
5.6.170.0140.01114.34
5.6.160.0120.01214.27
5.6.150.0140.00814.40
5.6.140.0080.01414.48
5.6.130.0200.00814.37
5.6.120.0070.01514.42
5.6.110.0200.00314.19
5.6.100.0140.00714.23
5.6.90.0140.00814.58
5.6.80.0130.00814.34
5.6.70.0160.00514.19
5.6.60.0160.00514.43
5.6.50.0160.00614.22
5.6.40.0190.00414.59
5.6.30.0120.00714.06
5.6.20.0130.01314.42
5.6.10.0200.00314.28
5.6.00.0160.00414.06
5.5.380.0200.00614.43
5.5.370.0170.01014.57
5.5.360.0170.00714.23
5.5.350.0130.01314.23
5.5.340.0190.00814.52
5.5.330.0200.00514.46
5.5.320.0210.00013.89
5.5.310.0100.01314.21
5.5.300.0170.01314.29
5.5.290.0130.01014.12
5.5.280.0170.01014.57
5.5.270.0190.00514.14
5.5.260.0160.00514.09
5.5.250.0050.01614.28
5.5.240.0120.00814.55
5.5.230.0080.01214.25
5.5.220.0200.00814.25
5.5.210.0100.01614.30
5.5.200.0130.00814.50
5.5.190.0160.00514.21
5.5.180.0080.01213.85
5.5.170.0190.00314.05
5.5.160.0090.01414.17
5.5.150.0170.00314.15
5.5.140.0170.01214.16
5.5.130.0200.00314.10
5.5.120.0190.00214.30
5.5.110.0190.00314.18
5.5.100.0170.00814.10
5.5.90.0190.00214.18
5.5.80.0180.00314.17
5.5.70.0140.00914.08
5.5.60.0090.01514.12
5.5.50.0080.01314.39
5.5.40.0160.00614.09
5.5.30.0130.00913.89
5.5.20.0180.00314.14
5.5.10.0120.00914.33
5.5.00.0120.01014.27
5.4.450.0110.00812.70
5.4.440.0170.00612.70
5.4.430.0090.00912.70
5.4.420.0150.00412.70
5.4.410.0080.00812.70
5.4.400.0140.00312.70
5.4.390.0070.01012.70
5.4.380.0110.00412.70
5.4.370.0130.00412.70
5.4.360.0100.00812.70
5.4.350.0170.00212.70
5.4.340.0130.00712.70
5.4.330.0080.00812.70
5.4.320.0060.01112.70
5.4.310.0130.00712.70
5.4.300.0070.01412.70
5.4.290.0090.00912.70
5.4.280.0090.00612.70
5.4.270.0110.00712.70
5.4.260.0150.00012.70
5.4.250.0100.00712.70
5.4.240.0100.00712.70
5.4.230.0180.00312.70
5.4.220.0040.01312.70
5.4.210.0070.00712.70
5.4.200.0120.00412.70
5.4.190.0110.00412.70
5.4.180.0120.00312.70
5.4.170.0130.00312.70
5.4.160.0120.00312.70
5.4.150.0040.01112.70
5.4.140.0100.00712.70
5.4.130.0050.01012.70
5.4.120.0080.00812.70
5.4.110.0090.00912.70
5.4.100.0140.00312.70
5.4.90.0090.00612.70
5.4.80.0160.00212.70
5.4.70.0070.01012.70
5.4.60.0090.00912.70
5.4.50.0120.00312.70
5.4.40.0080.00812.70
5.4.30.0130.00312.70
5.4.20.0180.00512.70
5.4.10.0160.01012.70
5.4.00.0120.00612.70
5.3.290.0090.00512.70
5.3.280.0060.01212.70
5.3.270.0080.00612.70
5.3.260.0100.00512.70
5.3.250.0120.00312.70
5.3.240.0030.01012.70
5.3.230.0110.00212.70
5.3.220.0110.00312.70
5.3.210.0080.00612.70
5.3.200.0110.00412.70
5.3.190.0130.00012.70
5.3.180.0120.00212.70
5.3.170.0100.00312.70
5.3.160.0060.00612.70
5.3.150.0130.00012.70
5.3.140.0080.00412.70
5.3.130.0140.00512.70
5.3.120.0110.00912.70
5.3.110.0160.00012.70
5.3.100.0140.00012.70
5.3.90.0100.00312.70
5.3.80.0130.00012.70
5.3.70.0120.00412.70
5.3.60.0170.00012.70
5.3.50.0110.00512.70
5.3.40.0060.00812.70
5.3.30.0070.00712.70
5.3.20.0050.01012.70
5.3.10.0080.00412.70
5.3.00.0130.00012.70
5.2.170.0140.00012.70
5.2.160.0120.00012.70
5.2.150.0090.00312.70
5.2.140.0090.00412.70
5.2.130.0020.01012.70
5.2.120.0100.00012.70
5.2.110.0070.00412.70
5.2.100.0120.00012.70
5.2.90.0110.00012.70
5.2.80.0090.00312.70
5.2.70.0080.00412.70
5.2.60.0030.00712.70
5.2.50.0070.00412.70
5.2.40.0000.01112.70
5.2.30.0030.00712.70
5.2.20.0070.00412.70
5.2.10.0120.00012.70
5.2.00.0090.00212.70
5.1.60.0030.00912.70
5.1.50.0060.00712.70
5.1.40.0000.00912.70
5.1.30.0060.00312.70
5.1.20.0130.00012.70
5.1.10.0090.00512.70
5.1.00.0050.00512.70
5.0.50.0040.00412.70
5.0.40.0040.00412.70
5.0.30.0080.00012.70
5.0.20.0060.00312.70
5.0.10.0090.00012.70
5.0.00.0070.00012.70
4.4.90.0080.00012.70
4.4.80.0040.00412.70
4.4.70.0040.00412.70
4.4.60.0080.00012.70
4.4.50.0040.00412.70
4.4.40.0040.00512.70
4.4.30.0000.00712.70
4.4.20.0100.00012.70
4.4.10.0030.00412.70
4.4.00.0070.00012.70
4.3.110.0030.00312.70
4.3.100.0030.00312.70
4.3.90.0070.00012.70
4.3.80.0060.00012.70
4.3.70.0000.00612.70
4.3.60.0030.00312.70
4.3.50.0070.00012.70
4.3.40.0060.00312.70
4.3.30.0000.00512.70
4.3.20.0030.00412.70
4.3.10.0000.00712.70
4.3.00.0030.00312.70

preferences:
160.89 ms | 400 KiB | 5 Q