3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo ksort(array('b', 'c', 'a'))[0];

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.0070.00718.30
8.3.50.0080.01020.96
8.3.40.0070.00718.84
8.3.30.0110.00418.71
8.3.20.0070.00718.70
8.3.10.0040.00420.92
8.3.00.0040.00419.58
8.2.180.0120.00916.50
8.2.170.0090.00622.96
8.2.160.0070.00720.38
8.2.150.0070.00725.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0040.00421.00
8.2.110.0060.00322.24
8.2.100.0030.00718.71
8.1.280.0140.00325.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00518.37
8.1.230.0060.00318.45
5.4.210.0070.03512.35
5.4.200.0120.04112.34
5.4.190.0210.06512.33
5.4.180.0120.04212.33
5.4.170.0110.04312.34
5.4.160.0130.04512.34
5.4.150.0100.04712.34
5.4.140.0150.03812.02
5.4.130.0200.06312.01
5.4.120.0100.04111.97
5.4.110.0120.03811.96
5.4.100.0090.04111.96
5.4.90.0110.04111.96
5.4.80.0090.04311.96
5.4.70.0190.04611.96
5.4.60.0080.04211.96
5.4.50.0110.03911.96
5.4.40.0130.03611.95
5.4.30.0130.03811.94
5.4.20.0120.03811.94
5.4.10.0090.04211.94
5.4.00.0080.04211.43
5.3.270.0130.03912.72
5.3.260.0120.04612.72
5.3.250.0120.04712.72
5.3.240.0190.07012.72
5.3.230.0140.04312.71
5.3.220.0130.04112.68
5.3.210.0120.04712.68
5.3.200.0100.04612.68
5.3.190.0130.04512.68
5.3.180.0140.04412.67
5.3.170.0110.04712.67
5.3.160.0110.04412.67
5.3.150.0100.04612.67
5.3.140.0130.04512.66
5.3.130.0120.04712.66
5.3.120.0110.04812.66
5.3.110.0200.07212.66
5.3.100.0110.04612.12
5.3.90.0100.04712.08
5.3.80.0160.04012.08
5.3.70.0100.04412.08
5.3.60.0120.04012.06
5.3.50.0190.06612.00
5.3.40.0120.04312.00
5.3.30.0100.04211.94
5.3.20.0140.04111.71
5.3.10.0130.04111.68
5.3.00.0100.04611.66

preferences:
33.16 ms | 401 KiB | 5 Q