3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rgData = [ [ 'account_id' => 9, 'entered' => 2 ], [ 'account_id' => 9, 'entered' => 3 ], [ 'account_id' => 9, 'entered' => 1 ] ]; //desc sort: usort($rgData, function($rgX, $rgY) { return $rgX['entered']>$rgY['entered']?-1:$rgX['entered']!=$rgY['entered']; }); var_dump($rgData);

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.0100.01018.85
8.3.30.0110.00418.84
8.3.20.0080.00018.61
8.3.10.0030.00620.50
8.3.00.0040.00417.50
8.2.170.0040.01118.82
8.2.160.0100.00322.96
8.2.150.0080.00024.18
8.2.140.0070.00324.66
8.2.130.0000.00726.16
8.2.120.0050.00319.95
8.2.110.0000.01020.38
8.2.100.0040.00718.03
8.2.90.0000.00819.26
8.2.80.0000.00917.97
8.2.70.0000.01017.63
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0080.00020.07
8.2.30.0000.00818.14
8.2.20.0000.00817.73
8.2.10.0070.00417.62
8.2.00.0050.00317.68
8.1.270.0030.00623.99
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0070.00420.61
8.1.230.0070.00420.98
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0100.00017.38
8.1.190.0060.00317.54
8.1.180.0080.00018.10
8.1.170.0040.00418.67
8.1.160.0000.00718.84
8.1.150.0000.00718.65
8.1.140.0050.00317.46
8.1.130.0000.00717.86
8.1.120.0040.00417.43
8.1.110.0030.00317.39
8.1.100.0000.00717.45
8.1.90.0040.00417.38
8.1.80.0030.00317.46
8.1.70.0030.00617.39
8.1.60.0050.00317.62
8.1.50.0040.00417.40
8.1.40.0000.00817.50
8.1.30.0000.00817.64
8.1.20.0000.00917.63
8.1.10.0000.00717.48
8.1.00.0040.00417.54
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.28
8.0.270.0000.00717.15
8.0.260.0030.00316.69
8.0.250.0030.00516.89
8.0.240.0030.00716.96
8.0.230.0070.00016.93
8.0.220.0030.00316.88
8.0.210.0070.00016.91
8.0.200.0040.00417.05
8.0.190.0000.00716.90
8.0.180.0040.00416.99
8.0.170.0030.00516.96
8.0.160.0000.00716.99
8.0.150.0040.00416.93
8.0.140.0000.00716.91
8.0.130.0030.00313.37
8.0.120.0040.00416.92
8.0.110.0040.00416.91
8.0.100.0040.00417.04
8.0.90.0000.00716.78
8.0.80.0070.00716.95
8.0.70.0040.00416.80
8.0.60.0070.00016.90
8.0.50.0040.00417.06
8.0.30.0090.00916.95
8.0.20.0100.01217.09
8.0.10.0050.00217.11
8.0.00.0100.00916.82
7.4.330.0060.00013.00
7.4.320.0000.00616.53
7.4.300.0060.00016.51
7.4.290.0050.00216.48
7.4.280.0040.00916.57
7.4.270.0070.00016.46
7.4.260.0030.00313.33
7.4.250.0030.00416.61
7.4.240.0000.00716.61
7.4.230.0030.00316.39
7.4.220.0040.00416.71
7.4.210.0100.00616.53
7.4.200.0070.00016.34
7.4.190.0080.00016.45
7.4.160.0090.00616.71
7.4.150.0070.02016.52
7.4.140.0080.01116.50
7.4.130.0090.00916.60
7.4.120.0100.00816.46
7.4.110.0100.00716.19
7.4.100.0080.00816.38
7.4.90.0070.01116.36
7.4.80.0120.01216.58
7.4.70.0070.01316.34
7.4.60.0100.00716.58
7.4.50.0040.00416.44
7.4.40.0080.00316.38
7.4.30.0090.00616.67
7.4.00.0040.01515.08
7.3.330.0060.00013.29
7.3.320.0000.00513.30
7.3.310.0030.00316.30
7.3.300.0040.00416.34
7.3.290.0140.00016.21
7.3.280.0100.00816.22
7.3.270.0060.01216.51
7.3.260.0110.00816.21
7.3.250.0160.00716.26
7.3.240.0090.00916.26
7.3.230.0000.01616.64
7.3.210.0130.00416.34
7.3.200.0130.01119.39
7.3.190.0170.00316.54
7.3.180.0130.00816.53
7.3.170.0170.00016.29
7.3.160.0100.00716.52
7.3.120.0060.00914.75
7.3.10.0120.00316.68
7.3.00.0030.00716.60
7.2.330.0130.00316.50
7.2.320.0080.01216.78
7.2.310.0120.01216.68
7.2.300.0130.00316.77
7.2.290.0060.01116.42
7.2.130.0030.01016.83
7.2.120.0090.00416.72
7.2.110.0030.00716.64
7.2.100.0030.01316.84
7.2.90.0000.01516.86
7.2.80.0070.00416.90
7.2.70.0100.00317.00
7.2.60.0040.01116.96
7.2.50.0040.01117.03
7.2.40.0040.01117.08
7.2.30.0060.00616.65
7.2.20.0100.00017.05
7.2.10.0090.00016.56
7.2.00.0060.00517.84
7.1.250.0070.00715.63
7.1.200.0030.00315.71
7.1.100.0100.01416.18
7.1.70.0000.00917.13
7.1.60.0110.01419.40
7.1.50.0090.00616.94
7.1.00.0000.04322.48
7.0.200.0000.00816.80
7.0.140.0030.07322.10
7.0.120.0000.05722.09
7.0.60.0070.04719.92
7.0.50.0100.07317.86
7.0.40.0170.08020.09
7.0.30.0200.04020.13
7.0.20.0170.05320.15
7.0.10.0200.04320.09
7.0.00.0170.07720.23
5.6.280.0070.07021.07
5.6.210.0100.05720.57
5.6.200.0030.07318.16
5.6.190.0070.04020.47
5.6.180.0130.04720.55
5.6.170.0300.04320.50
5.6.160.0070.03720.47
5.6.150.0030.04018.18
5.6.140.0070.03718.22
5.6.130.0100.05318.34
5.6.120.0130.07321.05
5.6.110.0030.04020.95
5.6.100.0100.05321.01
5.6.90.0130.04720.95
5.6.80.0130.07020.41
5.6.70.3400.03720.38
5.5.350.0330.03720.41
5.5.340.0130.06317.95
5.5.330.0030.09020.42
5.5.320.0330.07020.44
5.5.310.0200.03320.41
5.5.300.0200.07018.04
5.5.290.0100.08317.95
5.5.280.0070.08720.85
5.5.270.0170.06720.77
5.5.260.0130.03720.83
5.5.250.0030.07720.61
5.5.240.0170.03020.07
5.4.450.0000.05019.45
5.4.440.0030.08319.59
5.4.430.0070.03719.59
5.4.420.0100.08019.29
5.4.410.0130.06019.43
5.4.400.0030.06019.16
5.4.390.0030.04018.93
5.4.380.0130.03018.85
5.4.370.0170.03719.15
5.4.360.0070.04319.20
5.4.350.0100.05719.15
5.4.340.0030.07319.12
5.4.320.0070.07719.24
5.4.310.0130.07319.12
5.4.300.0070.04319.16
5.4.290.0030.07319.23
5.4.280.0070.07719.24
5.4.270.0100.07319.07
5.4.260.0170.02719.24
5.4.250.0070.04718.97
5.4.240.0070.03719.15
5.4.230.0100.06319.23
5.4.220.0100.05719.23
5.4.210.0070.07719.07
5.4.200.0100.06019.18
5.4.190.0070.05319.23
5.4.180.0070.07719.15
5.4.170.0100.05318.86
5.4.160.0100.05719.05
5.4.150.0100.07719.06
5.4.140.0130.06016.38
5.4.130.0170.05716.50
5.4.120.0170.06316.46
5.4.110.0030.07316.38
5.4.100.0000.05716.47
5.4.90.0000.07016.30
5.4.80.0030.07316.29
5.4.70.0030.07016.63
5.4.60.0070.07016.47
5.4.50.0030.06316.28
5.4.40.0030.05316.47
5.4.30.0100.07016.48
5.4.20.0000.04316.38
5.4.10.0070.06316.34
5.4.00.0130.03015.95
5.3.290.0030.08014.45
5.3.280.0170.06014.53
5.3.270.0000.04014.52
5.3.260.0100.04314.50
5.3.250.0070.03314.50
5.3.240.0030.07014.55
5.3.230.0000.05314.54
5.3.220.0070.03714.36
5.3.210.0170.04014.49
5.3.200.0070.06714.66
5.3.190.0070.04714.58
5.3.180.0000.04014.53
5.3.170.0030.06014.51
5.3.160.0130.06314.49
5.3.150.0100.04314.39
5.3.140.0100.06714.45
5.3.130.0130.07014.48
5.3.120.0030.05014.50
5.3.110.0000.04014.47
5.3.100.0000.05013.97
5.3.90.0030.06313.98
5.3.80.0030.03713.94
5.3.70.0100.04713.84
5.3.60.0070.07313.92
5.3.50.0070.06013.88
5.3.40.0030.05013.89
5.3.30.0000.07313.93
5.3.20.0030.05713.62
5.3.10.0100.05013.58
5.3.00.0070.03713.56
5.2.170.0030.05711.22
5.2.160.0000.05311.07
5.2.150.0000.03711.08
5.2.140.0100.05311.07
5.2.130.0030.04311.18
5.2.120.0000.06311.03
5.2.110.0130.05310.92
5.2.100.0070.05011.04
5.2.90.0070.05310.99
5.2.80.0070.06011.18
5.2.70.0070.03011.00
5.2.60.0070.04310.86
5.2.50.0070.06311.00
5.2.40.0070.05710.96
5.2.30.0030.05310.96
5.2.20.0070.03310.96
5.2.10.0100.05710.84
5.2.00.0100.04710.59
5.1.60.0000.0509.94
5.1.50.0070.02710.06
5.1.40.0070.0409.94
5.1.30.0000.05310.39
5.1.20.0030.05710.20
5.1.10.0070.02710.03
5.1.00.0030.0239.91
5.0.50.0100.0138.51
5.0.40.0100.0408.55
5.0.30.0030.0378.27
5.0.20.0130.0308.27
5.0.10.0070.0278.27
5.0.00.0000.0508.27
4.4.90.0000.0178.27
4.4.80.0030.0278.27
4.4.70.0000.0178.27
4.4.60.0070.0308.27
4.4.50.0030.0378.27
4.4.40.0000.0278.27
4.4.30.0070.0108.27
4.4.20.0000.0308.27
4.4.10.0000.0308.27
4.4.00.0030.0338.27
4.3.110.0000.0178.27
4.3.100.0030.0238.27
4.3.90.0070.0308.27
4.3.80.0070.0478.27
4.3.70.0030.0208.27
4.3.60.0000.0308.27
4.3.50.0030.0378.27
4.3.40.0030.0308.27
4.3.30.0030.0208.27
4.3.20.0030.0138.27
4.3.10.0000.0178.27
4.3.00.0000.0208.27

preferences:
63.54 ms | 400 KiB | 5 Q