3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ '1' => '2017-07-01', '2' => '2017-07-05', '3' => null, ]; asort($array); var_dump($array);

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.0140.00718.30
8.3.50.0100.00716.06
8.3.40.0070.00718.59
8.3.30.0090.00618.42
8.3.20.0080.00018.73
8.3.10.0000.00721.70
8.3.00.0090.00019.72
8.2.180.0140.00717.98
8.2.170.0130.00718.79
8.2.160.0070.00722.96
8.2.150.0050.00225.66
8.2.140.0000.00824.66
8.2.130.0040.00420.35
8.2.120.0080.00026.35
8.2.110.0100.00022.25
8.2.100.0110.00017.78
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0040.00418.04
8.2.50.0050.00318.10
8.2.40.0000.00820.55
8.2.30.0000.00720.93
8.2.20.0020.00517.91
8.2.10.0040.00417.90
8.2.00.0090.00018.03
8.1.280.0140.00725.92
8.1.270.0030.00622.07
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0080.00023.91
8.1.230.0080.00322.27
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00418.50
8.1.160.0070.00018.87
8.1.150.0040.00418.88
8.1.140.0030.00619.54
8.1.130.0040.00418.81
8.1.120.0000.00717.37
8.1.110.0090.00017.26
8.1.100.0020.00517.27
8.1.90.0040.00417.42
8.1.80.0030.00317.27
8.1.70.0000.00717.31
8.1.60.0050.00317.50
8.1.50.0040.00417.45
8.1.40.0030.00617.43
8.1.30.0040.00417.43
8.1.20.0090.00017.55
8.1.10.0000.00817.52
8.1.00.0000.00717.43
8.0.300.0030.00618.77
8.0.290.0060.00316.63
8.0.280.0000.00718.41
8.0.270.0030.00317.09
8.0.260.0000.00616.65
8.0.250.0030.00316.83
8.0.240.0070.00016.77
8.0.230.0070.00016.91
8.0.220.0020.00516.84
8.0.210.0030.00316.86
8.0.200.0060.00016.89
8.0.190.0050.00316.89
8.0.180.0110.00016.82
8.0.170.0040.00416.80
8.0.160.0030.00316.70
8.0.150.0000.00716.76
8.0.140.0000.00716.67
8.0.130.0000.00513.24
8.0.120.0040.00416.79
8.0.110.0060.00316.71
8.0.100.0000.00716.82
8.0.90.0000.00716.69
8.0.80.0150.00616.87
8.0.70.0000.00716.76
8.0.60.0000.00816.86
8.0.50.0040.00416.80
8.0.30.0100.00816.85
8.0.20.0100.01017.40
8.0.10.0030.00516.93
8.0.00.0090.00916.53
7.4.330.0040.00015.55
7.4.320.0060.00016.52
7.4.300.0060.00016.45
7.4.290.0030.00716.36
7.4.280.0030.00616.56
7.4.270.0000.00716.53
7.4.260.0000.00713.26
7.4.250.0000.00716.53
7.4.240.0070.00016.55
7.4.230.0030.00316.59
7.4.220.0120.01216.50
7.4.210.0060.00816.39
7.4.200.0070.00016.42
7.4.160.0090.00716.42
7.4.150.0110.01117.40
7.4.140.0110.00717.86
7.4.130.0150.00616.42
7.4.120.0100.01016.34
7.4.110.0040.01416.48
7.4.100.0080.01216.48
7.4.90.0080.00816.31
7.4.80.0120.00419.39
7.4.70.0060.01016.38
7.4.60.0090.00916.44
7.4.50.0040.01416.27
7.4.40.0060.01516.29
7.4.30.0090.01216.54
7.4.00.0120.00414.64
7.3.330.0040.00412.82
7.3.320.0030.00312.87
7.3.310.0050.00216.05
7.3.300.0040.00416.14
7.3.290.0070.00716.11
7.3.280.0070.01016.11
7.3.270.0070.01017.40
7.3.260.0050.01116.21
7.3.250.0070.01116.24
7.3.240.0110.00616.09
7.3.230.0100.01416.16
7.3.210.0070.01016.39
7.3.200.0070.01116.32
7.3.190.0060.01016.26
7.3.180.0110.00516.41
7.3.170.0100.00716.44
7.3.160.0060.00916.32
7.2.330.0110.00716.63
7.2.320.0070.01016.34
7.2.310.0150.00916.41
7.2.300.0170.00716.32
7.2.290.0060.00916.50
7.2.60.0910.00814.74
7.2.00.0030.01019.11
7.1.200.0060.00915.48
7.1.100.0100.00018.18
7.1.70.0000.00717.13
7.1.60.0040.01117.20
7.1.50.0110.00016.53
7.1.40.0000.01116.47
7.1.30.0040.00816.38
7.1.20.0000.01416.82
7.1.10.0030.00816.71
7.1.00.0060.00616.55
7.0.200.0000.01216.46
7.0.190.0030.00316.37
7.0.180.0000.02116.09
7.0.170.0030.01316.31
7.0.160.0080.00616.25
7.0.150.0070.00016.07
7.0.140.0040.00416.27
7.0.130.0040.00716.36
7.0.120.0080.00016.50
7.0.110.0030.00516.21
7.0.100.0040.00416.50
7.0.90.0060.00616.19
7.0.80.0040.00416.36
7.0.70.0000.00716.33
7.0.60.0030.01215.99
7.0.50.0000.00816.20
7.0.40.0040.00414.70
7.0.30.0060.00614.70
7.0.20.0030.01314.70
7.0.10.0070.01014.70
7.0.00.0040.01114.70

preferences:
62.8 ms | 401 KiB | 5 Q