3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = []; $o = new stdclass(); $o->id = 11591; $o->title = 'abc'; $arr[3] = $o; $o = new stdclass(); $o->id = 11592; $o->title = 'xyz'; $arr[2] = $o; $o = new stdclass(); $o->id = 11589; $o->title = 'abg'; $arr[0] = $o; $o = new stdclass(); $o->id = 11590; $o->title = 'asw'; $arr[1] = $o; ksort($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.4.120.0080.00320.57
8.4.110.0080.00822.61
8.4.100.0100.00917.71
8.4.90.0130.00718.84
8.4.80.0050.00419.72
8.4.70.0060.00919.71
8.4.60.0140.00618.57
8.4.50.0080.00822.49
8.4.40.0140.00720.21
8.4.30.0130.00320.25
8.4.20.0070.01120.52
8.4.10.0030.00617.72
8.3.250.0090.00918.68
8.3.240.0090.00116.82
8.3.230.0060.01016.64
8.3.220.0120.00717.30
8.3.210.0120.00616.82
8.3.200.0070.00216.58
8.3.190.0080.00716.94
8.3.180.0100.00919.03
8.3.170.0040.00416.55
8.3.160.0100.00717.26
8.3.150.0090.00917.08
8.3.140.0120.00320.66
8.3.130.0090.00016.63
8.3.120.0030.00518.53
8.3.110.0130.00316.40
8.3.100.0030.00520.22
8.3.90.0100.00016.24
8.3.80.0030.01018.30
8.3.70.0170.00316.38
8.3.60.0100.01016.75
8.3.50.0070.00821.04
8.3.40.0040.01218.72
8.3.30.0120.00418.67
8.3.20.0080.00021.89
8.3.10.0000.00820.07
8.3.00.0050.00323.48
8.2.290.0110.00720.47
8.2.280.0120.00718.23
8.2.270.0050.00518.85
8.2.260.0150.00416.34
8.2.250.0030.00518.36
8.2.240.0060.00317.09
8.2.230.0040.00420.94
8.2.220.0060.01024.06
8.2.210.0040.00426.77
8.2.200.0070.00418.41
8.2.190.0180.00016.63
8.2.180.0120.00316.63
8.2.170.0130.00322.96
8.2.160.0130.00019.41
8.2.150.0000.00824.18
8.2.140.0060.00924.66
8.2.130.0070.00026.16
8.2.120.0020.00520.69
8.2.110.0030.00720.90
8.2.100.0090.00317.91
8.2.90.0030.00617.72
8.2.80.0080.00017.97
8.2.70.0030.00518.03
8.2.60.0080.00018.16
8.2.50.0000.00818.10
8.2.40.0070.00019.48
8.2.30.0050.00319.27
8.2.20.0030.00518.11
8.2.10.0000.00819.24
8.2.00.0000.00719.30
8.1.330.0090.00921.78
8.1.320.0110.00817.89
8.1.310.0000.00816.43
8.1.300.0080.00017.66
8.1.290.0030.00618.88
8.1.280.0070.01025.92
8.1.270.0000.00823.97
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00322.05
8.1.230.0060.00619.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0080.00018.95
8.1.160.0040.00420.52
8.1.150.0030.00618.81
8.1.140.0070.00020.89
8.1.130.0000.00717.39
8.1.120.0040.00417.29
8.1.110.0000.00717.39
8.1.100.0030.00717.39
8.1.90.0040.00417.39
8.1.80.0040.00417.32
8.1.70.0030.00317.32
8.1.60.0080.00017.39
8.1.50.0070.00017.52
8.1.40.0090.00017.44
8.1.30.0040.00417.42
8.1.20.0030.00517.48
8.1.10.0040.00417.64
8.1.00.0080.00017.52
8.0.300.0050.00219.73
8.0.290.0000.00916.63
8.0.280.0000.00718.30
8.0.270.0080.00016.76
8.0.260.0030.00316.80
8.0.250.0030.00316.79
8.0.240.0000.00816.94
8.0.230.0040.00416.85
8.0.220.0000.00616.88
8.0.210.0000.00716.76
8.0.200.0030.00316.91
8.0.190.0000.00716.76
8.0.180.0080.00016.71
8.0.170.0050.00316.86
8.0.160.0040.00416.88
8.0.150.0040.00316.80
8.0.140.0020.00516.70
8.0.130.0000.00513.30
8.0.120.0050.00216.82
8.0.110.0040.00416.84
8.0.100.0040.00416.70
8.0.90.0000.00916.84
8.0.80.0030.01316.82
8.0.70.0070.00016.61
8.0.60.0040.00416.83
8.0.50.0000.00716.66
8.0.30.0100.01017.04
8.0.20.0100.01017.05
8.0.10.0070.00016.90
8.0.00.0090.01016.72
7.4.330.0040.00415.55
7.4.320.0000.00716.54
7.4.300.0000.00616.44
7.4.290.0030.00416.41
7.4.280.0090.00316.55
7.4.270.0000.00716.53
7.4.260.0030.00313.28
7.4.250.0000.00716.57
7.4.240.0050.00216.53
7.4.230.0000.00716.34
7.4.220.0030.00416.35
7.4.210.0040.01216.57
7.4.200.0030.00316.47
7.4.140.0110.00717.86
7.4.130.0090.00916.32
7.4.120.0140.00316.35
7.4.110.0100.00616.52
7.4.100.0000.01716.49
7.4.90.0030.01316.52
7.4.80.0090.00919.39
7.4.70.0100.00716.43
7.4.60.0080.00816.33
7.4.50.0060.01216.47
7.4.40.0050.01016.44
7.4.00.0060.01014.81
7.3.330.0040.00416.41
7.3.320.0000.00613.03
7.3.310.0000.00716.40
7.3.300.0030.00316.15
7.3.290.0000.00716.35
7.3.280.0100.01016.30
7.3.260.0140.01216.40
7.3.240.0100.00916.45
7.3.230.0200.00416.30
7.3.210.0120.00316.17
7.3.200.0070.01416.36
7.3.190.0100.00716.42
7.3.180.0120.00316.50
7.3.170.0100.00716.34
7.3.160.0110.00516.29
7.3.70.0140.00014.64
7.3.60.0030.01314.92
7.3.50.0070.00714.52
7.3.40.0100.00614.53
7.3.30.0040.00814.60
7.3.20.0100.00314.78
7.3.10.0090.00614.98
7.3.00.0100.01014.88
7.2.330.0070.01016.60
7.2.320.0090.00816.46
7.2.310.0130.01016.64
7.2.300.0070.00716.60
7.2.290.0170.00616.50
7.2.200.0030.00914.89
7.2.190.0080.00615.07
7.2.180.0070.00714.94
7.2.170.0100.00714.70
7.2.160.0040.00814.60
7.2.150.1510.00315.01
7.2.140.0100.00315.12
7.2.130.0130.00715.07
7.2.120.0080.00815.13
7.2.110.0160.00614.80
7.2.100.0110.00514.92
7.2.90.0110.00514.71
7.2.80.0120.00314.96
7.2.70.0080.00814.97
7.2.60.0120.00415.11
7.2.50.0070.00714.62
7.2.40.0080.00614.93
7.2.30.0110.00714.97
7.2.20.0090.00514.89
7.2.10.0070.00714.94
7.2.00.0100.01015.13
7.1.300.0130.00013.70
7.1.290.0040.01313.90
7.1.280.0140.00013.62
7.1.270.0090.00413.96
7.1.260.0060.00614.09
7.1.250.0100.00713.76

preferences:
133.97 ms | 403 KiB | 5 Q