3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( '0' => array ( '0' => array ( 'companyname' => 'Insurance Company' ) ), '2' => array ( '0' => array ( 'companyname' => 'pnsurance Company' ) ), '3' => array ( '0' => array ( 'companyname' => 'Life Insurance Company and Policy' ) ) ); krsort($arr); print_r($arr);

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.0100.00716.63
8.3.50.0090.00617.36
8.3.40.0120.00318.39
8.3.30.0090.00618.50
8.3.20.0040.00418.53
8.3.10.0050.00320.40
8.3.00.0050.00319.13
8.2.180.0070.01116.32
8.2.170.0090.00622.96
8.2.160.0100.00721.13
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0120.00319.36
8.2.110.0060.00319.31
8.2.100.0040.00717.78
8.2.90.0000.00819.17
8.2.80.0040.00419.28
8.2.70.0040.00417.63
8.2.60.0030.00517.91
8.2.50.0000.00818.10
8.2.40.0050.00320.18
8.2.30.0050.00219.05
8.2.20.0030.00617.59
8.2.10.0060.00317.66
8.2.00.0090.00017.50
8.1.280.0100.00325.92
8.1.270.0050.00224.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00317.35
8.1.230.0070.00417.76
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00817.00
8.1.180.0000.00718.10
8.1.170.0040.00418.61
8.1.160.0000.00718.80
8.1.150.0070.00018.55
8.1.140.0070.00017.28
8.1.130.0030.00317.73
8.1.120.0030.00517.42
8.1.110.0070.00017.41
8.1.100.0070.00017.36
8.1.90.0030.00617.43
8.1.80.0000.00717.27
8.1.70.0070.00017.31
8.1.60.0020.00517.43
8.1.50.0040.00417.29
8.1.40.0040.00417.46
8.1.30.0030.00517.59
8.1.20.0070.00017.62
8.1.10.0040.00417.43
8.1.00.0040.00417.30
8.0.300.0060.00918.77
8.0.290.0030.00616.63
8.0.280.0000.00718.32
8.0.270.0000.00717.09
8.0.260.0060.00016.73
8.0.250.0040.00416.78
8.0.240.0030.00316.88
8.0.230.0000.00716.81
8.0.220.0000.00916.79
8.0.210.0030.00316.77
8.0.200.0040.00416.79
8.0.190.0050.00216.75
8.0.180.0030.00316.76
8.0.170.0030.00616.71
8.0.160.0000.00716.86
8.0.150.0040.00416.86
8.0.140.0000.00716.81
8.0.130.0030.00313.28
8.0.120.0000.00716.75
8.0.110.0040.00416.80
8.0.100.0070.00016.68
8.0.90.0040.00416.70
8.0.80.0030.01716.83
8.0.70.0000.00816.87
8.0.60.0000.00816.79
8.0.50.0040.00416.63
8.0.30.0170.00916.92
8.0.20.0110.00716.94
8.0.10.0040.00416.81
8.0.00.0140.01016.73
7.4.330.0050.00012.80
7.4.320.0060.00316.43
7.4.300.0070.00016.35
7.4.290.0000.00716.47
7.4.280.0070.00016.45
7.4.270.0000.00816.41
7.4.260.0000.00513.20
7.4.250.0050.00316.52
7.4.240.0080.00016.36
7.4.230.0030.00316.22
7.4.220.0180.00616.46
7.4.210.0100.00516.46
7.4.200.0000.00716.38
7.4.190.0030.00316.49
7.4.160.0090.00616.46
7.4.150.0060.01616.29
7.4.140.0030.01416.55
7.4.130.0100.00916.38
7.4.120.0110.00616.33
7.4.110.0070.01016.41
7.4.100.0070.01016.37
7.4.90.0150.00316.46
7.4.80.0000.02119.39
7.4.70.0100.00616.57
7.4.60.0110.00616.36
7.4.50.0040.00416.25
7.4.40.0000.01316.23
7.4.30.0100.00616.25
7.4.00.0080.00914.80
7.3.330.0060.00013.01
7.3.320.0050.00012.86
7.3.310.0000.00716.06
7.3.300.0070.00016.23
7.3.290.0070.01016.16
7.3.280.0060.01316.16
7.3.270.0100.00716.39
7.3.260.0140.00316.08
7.3.250.0120.01016.28
7.3.240.0040.01116.01
7.3.230.0090.00916.19
7.3.210.0060.01016.48
7.3.200.0130.00916.48
7.3.190.0160.00316.39
7.3.180.0150.00616.25
7.3.170.0170.00416.39
7.3.160.0160.00016.32
7.3.120.0040.01114.72
7.3.110.0070.00814.59
7.3.100.0060.00814.66
7.3.90.0090.00614.78
7.3.80.0050.00814.66
7.3.70.0070.00914.75
7.3.60.0040.01114.69
7.3.50.0050.00814.65
7.3.40.0050.00814.60
7.3.30.0050.00714.46
7.3.20.0040.00916.43
7.3.10.0050.00916.53
7.3.00.0050.00816.48
7.2.330.0100.00716.29
7.2.320.0100.00716.50
7.2.310.0070.01716.17
7.2.300.0130.00416.29
7.2.290.0080.00916.34
7.2.250.0080.01114.90
7.2.240.0050.01214.90
7.2.230.0050.00914.72
7.2.220.0030.00914.83
7.2.210.0080.00614.86
7.2.200.0020.00814.79
7.2.190.0070.00614.75
7.2.180.0020.01014.84
7.2.170.0080.00414.86
7.2.160.0060.00614.62
7.2.150.0030.00616.68
7.2.140.0100.00716.54
7.2.130.0070.00716.52
7.2.120.0070.00716.62
7.2.110.0110.00716.81
7.2.100.0070.01116.62
7.2.90.0090.00616.73
7.2.80.0090.00616.74
7.2.70.0090.00616.88
7.2.60.0020.01516.61
7.2.50.0060.00616.45
7.2.40.0040.00916.55
7.2.30.0060.01016.54
7.2.20.0070.01016.54
7.2.10.0000.01416.78
7.2.00.0050.00818.02
7.1.330.0070.00515.73
7.1.320.0050.00815.73
7.1.310.0060.00715.78
7.1.300.0060.00515.72
7.1.290.0080.00715.76
7.1.280.0080.00415.68
7.1.270.0080.00715.64
7.1.260.0090.00215.76
7.1.250.0090.00015.85
7.1.200.0070.00715.46
7.1.100.0000.01118.01
7.1.70.0030.00516.90
7.1.60.0100.01319.40
7.1.50.0060.01616.91
7.1.00.0000.07322.40
7.0.200.0250.00314.73
7.0.140.0000.07722.11
7.0.120.0070.06722.01
7.0.60.0070.07721.72
7.0.50.0030.04717.78
7.0.40.0030.04320.39
7.0.30.0130.05320.16
7.0.20.0300.05320.30
7.0.10.0030.04720.06
7.0.00.0100.07720.06
5.6.280.0000.07321.07
5.6.210.0100.07320.64
5.6.200.0130.08018.12
5.6.190.0070.05720.67
5.6.180.0100.04720.38
5.6.170.0370.06720.48
5.6.160.0100.07320.54
5.6.150.0100.07718.14
5.6.140.0130.07018.18
5.6.130.0100.06018.11
5.6.120.0130.08021.11
5.6.110.0070.03720.94
5.6.100.0070.07321.12
5.6.90.0000.06720.96
5.6.80.0030.05720.43
5.5.350.0070.08320.38
5.5.340.0000.04317.96
5.5.330.0070.08320.40
5.5.320.0370.07320.34
5.5.310.0230.06020.34
5.5.300.0100.07318.08
5.5.290.0030.06017.95
5.5.280.0130.04720.72
5.5.270.0170.08020.78
5.5.260.0030.04020.64
5.5.250.0070.08020.59
5.5.240.0270.06320.25
5.4.450.0070.07719.51
5.4.440.0070.06719.32
5.4.430.0000.05719.42
5.4.420.0070.04319.46
5.4.410.0030.08319.20
5.4.400.0070.05019.24
5.4.390.0100.03319.23
5.4.380.0000.04318.87
5.4.370.0100.05718.92
5.4.360.0030.04019.08
5.4.350.0030.04719.15
5.4.340.0100.07019.11
5.4.320.0200.04719.08
5.4.310.0030.07718.98
5.4.300.0100.04019.14
5.4.290.0030.06319.11
5.4.280.0030.04018.97
5.4.270.0030.07319.26
5.4.260.0070.04719.23
5.4.250.0030.05018.84
5.4.240.0130.03019.13
5.4.230.0000.05319.16
5.4.220.0100.04319.15
5.4.210.0030.04719.24
5.4.200.0030.04318.84
5.4.190.0030.05718.99
5.4.180.0170.03319.11
5.4.170.0170.04718.86
5.4.160.0070.04718.95
5.4.150.0100.06319.22
5.4.140.0070.07716.39
5.4.130.0030.07716.50
5.4.120.0070.06016.29
5.4.110.0070.03716.43
5.4.100.0070.05316.45
5.4.90.0130.03316.27
5.4.80.0070.07716.52
5.4.70.0070.03716.25
5.4.60.0070.04316.44
5.4.50.0100.06316.46
5.4.40.0100.07016.38
5.4.30.0070.07316.38
5.4.20.0070.03316.27
5.4.10.0030.04316.26
5.4.00.0100.03015.91
5.3.290.0130.03714.65
5.3.280.0000.04314.50
5.3.270.0170.06714.63
5.3.260.0070.05014.49
5.3.250.0070.04314.63
5.3.240.0030.05314.62
5.3.230.0000.05314.66
5.3.220.0100.08014.63
5.3.210.0030.06714.71
5.3.200.0070.06714.59
5.3.190.0100.04714.45
5.3.180.0070.05714.59
5.3.170.0100.06714.70
5.3.160.0030.07014.55
5.3.150.0030.03714.58
5.3.140.0070.05014.60
5.3.130.0070.07314.57
5.3.120.0030.05014.69
5.3.110.0000.04314.60
5.3.100.0070.03314.04
5.3.90.0100.06714.05
5.3.80.0000.08014.07
5.3.70.0130.05314.01
5.3.60.0130.04713.92
5.3.50.0100.07013.86
5.3.40.0100.06713.95
5.3.30.0170.03313.92
5.3.20.0030.04313.83
5.3.10.0100.06313.55
5.3.00.0170.06013.78
5.2.170.0000.04011.11
5.2.160.0130.05311.04
5.2.150.0070.05711.03
5.2.140.0070.02711.16
5.2.130.0030.06311.19
5.2.120.0070.03011.14
5.2.110.0100.06011.06
5.2.100.0070.03711.16
5.2.90.0070.04011.17
5.2.80.0100.06011.25
5.2.70.0030.06311.09
5.2.60.0170.05011.05
5.2.50.0070.04311.00
5.2.40.0070.03010.93
5.2.30.0030.06311.02
5.2.20.0030.03011.01
5.2.10.0030.04310.91
5.2.00.0030.04010.71
5.1.60.0030.0539.98
5.1.50.0100.0339.99
5.1.40.0100.0479.99
5.1.30.0130.04010.18
5.1.20.0030.04710.25
5.1.10.0030.04010.06
5.1.00.0070.04010.08
5.0.50.0070.0338.88
5.0.40.0000.0478.88
5.0.30.0030.0608.88
5.0.20.0070.0308.88
5.0.10.0000.0308.88
5.0.00.0000.0478.88
4.4.90.0000.0308.88
4.4.80.0030.0338.88
4.4.70.0030.0278.88
4.4.60.0000.0408.88
4.4.50.0000.0178.88
4.4.40.0000.0438.88
4.4.30.0000.0378.88
4.4.20.0030.0178.88
4.4.10.0070.0308.88
4.4.00.0000.0608.88
4.3.110.0030.0208.88
4.3.100.0030.0338.88
4.3.90.0000.0308.88
4.3.80.0030.0238.88
4.3.70.0000.0208.88
4.3.60.0000.0178.88
4.3.50.0030.0138.88
4.3.40.0030.0238.88
4.3.30.0070.0238.88
4.3.20.0030.0178.88
4.3.10.0070.0338.88
4.3.00.0030.0378.88

preferences:
52.53 ms | 401 KiB | 5 Q