3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data1=array('date'=>'2 November 2013','name'=>'Ian Dear','amount'=>500000); $data2=array('date'=>'6 November 2013','name'=>'Bobvinder Sira','amount'=>3075000); $data3=array('date'=>'9 November 2013','name'=>'Abigail Jones','amount'=>2005000); $data4=array('date'=>'13 November 2013','name'=>'John Smith','amount'=>1875000); $num=array_merge($data1,$data2,$data3,$data4); array_multisort($num,SORT_DESC,SORT_NUMERIC); print_r($data1); print_r($data2); print_r($data3); print_r($data4); ?>

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.0100.00516.39
8.3.40.0100.01018.68
8.3.30.0100.00318.35
8.3.20.0050.00318.61
8.3.10.0080.00018.52
8.3.00.0050.00319.19
8.2.180.0070.00716.63
8.2.170.0040.01122.96
8.2.160.0060.01021.06
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0070.00419.20
8.2.110.0060.00320.35
8.2.100.0120.00017.91
8.2.90.0000.00719.23
8.2.80.0060.00317.97
8.2.70.0120.00217.00
8.2.60.0050.00517.91
8.2.50.0060.00318.07
8.2.40.0040.00417.97
8.2.30.0000.00719.41
8.2.20.0030.00717.63
8.2.10.0050.00317.54
8.2.00.0040.00417.74
8.1.280.0060.00925.92
8.1.270.0040.00424.66
8.1.260.0060.00326.35
8.1.250.0070.00728.09
8.1.240.0030.00622.34
8.1.230.0060.00620.85
8.1.220.0040.00418.77
8.1.210.0000.00818.90
8.1.200.0100.00017.23
8.1.190.0050.00317.53
8.1.180.0000.00818.10
8.1.170.0030.00518.61
8.1.160.0000.00718.87
8.1.150.0040.00418.45
8.1.140.0040.00417.48
8.1.130.0070.00017.76
8.1.120.0040.00417.29
8.1.110.0000.00717.39
8.1.100.0040.00417.37
8.1.90.0050.00217.30
8.1.80.0030.00317.26
8.1.70.0000.00717.39
8.1.60.0000.00717.39
8.1.50.0000.00817.36
8.1.40.0020.00517.32
8.1.30.0000.00717.46
8.1.20.0000.00817.56
8.1.10.0000.00817.39
8.1.00.0000.00817.45
8.0.300.0070.00019.77
8.0.290.0040.00417.05
8.0.280.0030.00318.32
8.0.270.0040.00416.78
8.0.260.0070.00016.85
8.0.250.0040.00416.76
8.0.240.0040.00416.87
8.0.230.0030.00316.87
8.0.220.0050.00316.85
8.0.210.0040.00416.72
8.0.200.0030.00316.78
8.0.190.0040.00416.82
8.0.180.0050.00516.79
8.0.170.0040.00416.72
8.0.160.0000.00716.79
8.0.150.0070.00016.74
8.0.140.0000.01016.60
8.0.130.0030.00313.25
8.0.120.0040.00416.71
8.0.110.0040.00416.81
8.0.100.0000.00716.68
8.0.90.0000.00816.71
8.0.80.0100.01316.84
8.0.70.0000.00816.78
8.0.60.0030.00516.83
8.0.50.0040.00416.69
8.0.30.0130.00716.99
8.0.20.0110.00816.85
8.0.10.0000.00816.86
8.0.00.0120.00916.67
7.4.330.0030.00312.94
7.4.320.0030.00316.52
7.4.300.0000.00616.52
7.4.290.0030.00316.50
7.4.280.0000.00816.45
7.4.270.0070.00016.44
7.4.260.0030.00313.19
7.4.250.0060.00316.51
7.4.240.0000.00716.55
7.4.230.0000.00616.52
7.4.220.0130.00916.38
7.4.210.0070.00916.51
7.4.200.0000.00716.62
7.4.190.0000.00716.57
7.4.160.0060.01016.51
7.4.150.0120.00616.18
7.4.140.0080.01116.40
7.4.130.0130.00616.47
7.4.120.0110.01016.26
7.4.110.0120.00816.62
7.4.100.0080.00816.53
7.4.90.0060.01316.22
7.4.80.0100.00916.35
7.4.70.0090.01216.46
7.4.60.0110.00516.34
7.4.50.0130.00016.31
7.4.40.0040.00716.28
7.4.30.0060.01316.46
7.4.00.0030.01214.67
7.3.330.0060.00013.06
7.3.320.0020.00312.96
7.3.310.0050.00215.96
7.3.300.0030.00316.17
7.3.290.0120.00916.16
7.3.280.0110.00416.13
7.3.270.0140.00316.15
7.3.260.0080.00816.34
7.3.250.0110.00516.04
7.3.240.0130.00316.50
7.3.230.0110.00716.13
7.3.210.0070.01116.40
7.3.200.0070.01619.39
7.3.190.0100.00716.47
7.3.180.0030.01216.21
7.3.170.0030.01716.49
7.3.160.0040.01116.45
7.3.120.0090.00814.88
7.3.110.0110.00514.59
7.3.100.0050.01214.71
7.3.90.0080.00514.66
7.3.80.0080.00714.75
7.3.70.0080.00814.72
7.3.60.0030.00914.64
7.3.50.0040.01114.74
7.3.40.0050.00814.50
7.3.30.0060.00914.67
7.3.20.0060.00816.55
7.3.10.0080.00816.52
7.3.00.0060.00716.56
7.2.330.0040.01516.58
7.2.320.0120.00616.23
7.2.310.0090.00916.62
7.2.300.0140.00316.24
7.2.290.0060.01216.33
7.2.250.0110.00714.84
7.2.240.0130.00514.98
7.2.230.0070.00914.83
7.2.220.0060.00814.92
7.2.210.0040.00814.82
7.2.200.0070.01014.78
7.2.190.0060.00914.79
7.2.180.0110.00414.84
7.2.170.0000.01214.75
7.2.160.0090.00314.87
7.2.150.0000.01016.89
7.2.140.0030.00716.54
7.2.130.0060.00816.85
7.2.120.0080.00716.63
7.2.110.0070.00916.62
7.2.100.0030.00916.87
7.2.90.0060.00816.66
7.2.80.0070.00516.79
7.2.70.0050.00816.68
7.2.60.0050.00516.62
7.2.50.0050.00916.95
7.2.40.0080.00716.79
7.2.30.0100.00716.83
7.2.20.0060.00616.88
7.2.10.0070.00616.65
7.2.00.0090.00516.81
7.1.330.0060.00815.75
7.1.320.0010.00915.88
7.1.310.0050.00915.68
7.1.300.0070.00915.71
7.1.290.0020.01015.60
7.1.280.0050.00815.80
7.1.270.0080.01015.66
7.1.260.0060.00615.85
7.1.250.0050.00715.41
7.1.70.0080.00816.77
7.1.60.0110.01419.40
7.1.50.0030.02016.83
7.1.00.0030.07722.36
7.0.200.0240.01014.79
7.0.140.0100.06721.97
7.0.120.0030.04722.09
7.0.60.0070.08719.93
7.0.50.0070.05717.83
7.0.40.0070.08017.70
7.0.30.0100.08017.75
7.0.20.0130.08317.66
7.0.10.0100.05317.69
7.0.00.0070.07017.69
5.6.280.0070.07021.08
5.6.210.0030.08320.52
5.6.200.0070.07718.15
5.6.190.0100.03318.18
5.6.180.0100.06018.22
5.6.170.0070.06718.22
5.6.160.0070.08718.18
5.6.150.0100.06018.21
5.6.140.0130.06718.14
5.6.130.0070.08318.11
5.6.120.0100.07318.21
5.6.110.0100.07318.11
5.6.100.0200.06718.21
5.6.90.0100.06018.20
5.6.80.0130.06317.52
5.6.70.0030.04017.57
5.6.60.0070.05317.59
5.6.50.0070.04717.61
5.6.40.0100.06317.54
5.6.30.0200.05717.49
5.6.20.0070.06317.46
5.6.10.0030.04717.43
5.6.00.0130.07017.55
5.5.350.0200.03020.52
5.5.340.0100.05717.95
5.5.330.0130.07717.88
5.5.320.0130.07317.96
5.5.310.0100.07317.91
5.5.300.0070.07717.98
5.5.290.0100.06017.98
5.5.280.0100.07017.91
5.5.270.0030.04318.00
5.5.260.0070.04317.91
5.5.250.0030.04317.80
5.5.240.0100.03717.30
5.5.230.0030.09017.38
5.5.220.0070.08017.36
5.5.210.0100.07017.40
5.5.200.0070.07717.28
5.5.190.0130.07017.33
5.5.180.0200.06317.27
5.5.160.0070.06717.22
5.5.150.0130.04717.33
5.5.140.0000.08317.26
5.5.130.0070.07717.30
5.5.120.0070.07317.35
5.5.110.0030.04017.33
5.5.100.0100.03317.19
5.5.90.0100.05017.14
5.5.80.0030.04717.19
5.5.70.0270.05717.16
5.5.60.0130.03017.26
5.5.50.0070.03317.24
5.5.40.0000.04017.08
5.5.30.0070.04017.20
5.5.20.0100.07317.20
5.5.10.0070.08017.21
5.5.00.0070.04717.20
5.4.450.0030.05019.36
5.4.440.0030.09019.45
5.4.430.0070.04019.41
5.4.420.0000.04319.36
5.4.410.0030.05719.32
5.4.400.0070.04718.99
5.4.390.0100.03318.95
5.4.380.0000.07718.91
5.4.370.0100.07718.95
5.4.360.0030.04319.07
5.4.350.0070.05018.99
5.4.340.0070.07018.99
5.4.320.0030.05319.01
5.4.310.0100.07319.00
5.4.300.0100.07318.82
5.4.290.0070.07318.98
5.4.280.0100.07019.00
5.4.270.0100.07718.98
5.4.260.0070.04318.98
5.4.250.0070.04318.88
5.4.240.0000.04319.20
5.4.230.0070.03318.98
5.4.220.0030.04319.00
5.4.210.0030.04018.97
5.4.200.0030.03719.03
5.4.190.0000.04319.08
5.4.180.0070.07319.02
5.4.170.0100.07718.97
5.4.160.0070.06319.05
5.4.150.0070.07719.18
5.4.140.0070.07716.34
5.4.130.0000.05316.28
5.4.120.0030.04316.17
5.4.110.0030.04016.29
5.4.100.0000.07716.27
5.4.90.0130.06716.36
5.4.80.0000.07316.23
5.4.70.0070.07316.16
5.4.60.0030.05316.23
5.4.50.0030.04716.30
5.4.40.0030.06716.36
5.4.30.0030.05016.38
5.4.20.0030.03716.36
5.4.10.0030.04016.25
5.4.00.0070.06715.71
5.3.290.0000.04714.65
5.3.280.0130.04714.68
5.3.270.0000.05014.55
5.3.260.0000.07014.43
5.3.250.0130.05714.43
5.3.240.0000.05314.57
5.3.230.0100.05014.43
5.3.220.0070.07314.42
5.3.210.0070.06714.34
5.3.200.0070.04714.52
5.3.190.0030.04714.50
5.3.180.0130.06714.50
5.3.170.0100.07314.34
5.3.160.0130.07014.39
5.3.150.0030.08014.54
5.3.140.0030.08314.52
5.3.130.0100.03314.50
5.3.120.0070.05714.63
5.3.110.0130.04714.37
5.3.100.0030.05713.95
5.3.90.0070.06013.98
5.3.80.0000.04013.98
5.3.70.0070.07713.95
5.3.60.0100.07013.94
5.3.50.0130.04013.93
5.3.40.0100.04013.88
5.3.30.0070.07313.87
5.3.20.0070.06313.46
5.3.10.0030.07713.50
5.3.00.0000.06313.71
5.2.170.0130.05311.14
5.2.160.0100.06011.17
5.2.150.0070.05310.97
5.2.140.0070.04711.04
5.2.130.0030.04011.09
5.2.120.0000.05311.09
5.2.110.0070.06011.09
5.2.100.0070.03711.02
5.2.90.0030.03311.09
5.2.80.0070.02711.06
5.2.70.0100.05011.06
5.2.60.0030.05311.20
5.2.50.0100.06011.02
5.2.40.0030.06011.00
5.2.30.0000.04710.96
5.2.20.0070.03710.95
5.2.10.0070.03311.06
5.2.00.0030.06010.56
5.1.60.0100.0439.96
5.1.50.0030.05310.07
5.1.40.0030.0539.94
5.1.30.0000.04010.43
5.1.20.0000.06010.40
5.1.10.0100.03310.27
5.1.00.0130.02010.11
5.0.50.0000.0278.52
5.0.40.0000.0478.46
5.0.30.0000.0408.28
5.0.20.0070.0208.39
5.0.10.0070.0238.11
5.0.00.0000.0638.11
4.4.90.0000.0208.11
4.4.80.0000.0378.11
4.4.70.0030.0338.11
4.4.60.0030.0378.11
4.4.50.0000.0308.11
4.4.40.0030.0308.11
4.4.30.0030.0308.11
4.4.20.0000.0278.11
4.4.10.0030.0338.11
4.4.00.0030.0338.11
4.3.110.0100.0138.11
4.3.100.0000.0208.11
4.3.90.0000.0178.11
4.3.80.0000.0578.11
4.3.70.0070.0208.11
4.3.60.0030.0178.11
4.3.50.0030.0238.11
4.3.40.0030.0508.11
4.3.30.0000.0238.11
4.3.20.0070.0308.11
4.3.10.0000.0338.11
4.3.00.0100.0278.11

preferences:
64.65 ms | 400 KiB | 5 Q