3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hand = "T7A7"; echo implode( (function($cards) { sort($cards); return $cards; })(str_split($hand)) );

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.5.30.0100.00819.18
8.5.20.0110.00920.26
8.5.10.0080.00919.47
8.5.00.0090.01323.02
8.4.180.0110.01519.63
8.4.170.0120.00925.68
8.4.160.0140.00823.85
8.4.150.0080.00516.81
8.4.140.0120.00917.55
8.4.130.0120.00817.57
8.4.120.0100.00920.56
8.4.110.0130.00722.46
8.4.100.0120.00817.70
8.4.90.0120.00817.75
8.4.80.0160.00317.59
8.4.70.0150.00617.72
8.4.60.0140.00620.48
8.4.50.0090.00717.99
8.4.40.0120.00920.65
8.4.30.0090.00922.16
8.4.20.0100.01018.00
8.4.10.0040.00421.81
8.3.300.0090.01120.64
8.3.290.0110.01020.82
8.3.280.0120.00818.24
8.3.270.0100.00916.56
8.3.260.0110.00816.56
8.3.250.0040.00518.71
8.3.240.0100.00916.52
8.3.230.0130.00716.72
8.3.220.0020.00518.84
8.3.210.0070.00816.59
8.3.200.0130.00616.50
8.3.190.0090.00917.04
8.3.180.0110.00716.73
8.3.170.0100.01016.99
8.3.160.0180.00016.58
8.3.150.0140.00320.86
8.3.140.0070.00316.97
8.3.130.0080.00018.29
8.3.120.0100.00019.13
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0060.00318.30
8.3.70.0140.00018.28
8.3.60.0060.00916.75
8.3.50.0140.00416.48
8.3.40.0070.00720.52
8.3.30.0070.00720.92
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0130.00718.75
8.2.290.0110.00420.49
8.2.280.0080.00818.29
8.2.270.0110.00717.38
8.2.260.0090.00619.03
8.2.250.0080.00016.97
8.2.240.0040.01519.00
8.2.230.0040.00422.58
8.2.220.0000.00837.54
8.2.210.0050.00326.77
8.2.200.0030.00716.50
8.2.190.0120.00616.58
8.2.180.0140.00416.63
8.2.170.0110.00419.02
8.2.160.0100.00322.96
8.2.150.0030.00625.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0080.00017.50
8.2.110.0060.00319.41
8.2.100.0090.00317.91
8.2.90.0080.00017.75
8.2.80.0000.00818.66
8.2.70.0040.00417.50
8.2.60.0130.00416.97
8.2.50.0140.00517.25
8.2.40.0130.00317.25
8.2.30.0170.00017.25
8.2.20.0130.00617.38
8.2.10.0110.00717.50
8.2.00.0140.00217.38
8.1.340.0130.00621.47
8.1.330.0140.00616.80
8.1.320.0120.00716.33
8.1.310.0120.00616.59
8.1.300.0090.00919.83
8.1.290.0040.00430.84
8.1.280.0100.00725.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0090.00023.84
8.1.230.0060.00620.84
8.1.220.0000.00818.55
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0170.00017.25
8.1.180.0070.01016.88
8.1.170.0140.00317.00
8.1.160.0100.00517.11
8.1.150.0140.00317.34
8.1.140.0060.00917.13
8.1.130.0120.00417.13
8.1.120.0080.00817.47
8.1.110.0080.00817.50
8.1.100.0170.00016.87
8.1.90.0120.00317.00
8.1.80.0120.00417.36
8.1.70.0130.00317.25
8.1.60.0120.00617.50
8.1.50.0140.00417.50
8.1.40.0170.00017.25
8.1.30.0240.00017.00
8.1.20.0120.00617.25
8.1.10.0170.00517.12
8.1.00.0090.00917.38
8.0.300.0070.00019.97
8.0.290.0050.00216.63
8.0.280.0080.00816.75
8.0.270.0140.00216.75
8.0.260.0150.00216.75
8.0.250.0110.00516.61
8.0.240.0080.00816.59
8.0.230.0170.00016.52
8.0.220.0170.00016.52
8.0.210.0110.00516.52
8.0.200.0170.00316.52
8.0.190.0160.00316.52
8.0.180.0100.00716.52
8.0.170.0090.00616.52
8.0.160.0120.00416.52
8.0.150.0160.00016.60
8.0.140.0110.00516.52
8.0.130.0130.00316.75
8.0.120.0160.00016.61
8.0.110.0150.00016.52
8.0.100.0170.00016.73
8.0.90.0120.00416.60
8.0.80.0040.01216.52
8.0.70.0080.00816.59
8.0.60.0120.00416.52
8.0.50.0120.00416.52
8.0.30.0080.00816.74
8.0.20.0080.00816.59
8.0.10.0060.01216.63

preferences:
93 ms | 1096 KiB | 5 Q