3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'children' => [ 'default.php' => [], 'test.php' => [], 'test.bak' => [], 'default-2.php' => [], 'align-2.php' => [], 'align.tmp' => [], ] ]; uksort($arr['children'], function($a, $b){ $a = pathinfo($a); $b = pathinfo($b); return $a['filename'] == $b['filename'] ? $a['basename'] <=> $b['basename'] : $a['filename'] <=> $b['filename']; }); print_r(array_keys($arr['children']));

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.10.0090.00821.91
8.5.00.0100.01019.89
8.4.150.0010.00114.05
8.4.140.0110.00917.53
8.4.130.0100.01119.55
8.4.120.0130.00620.45
8.4.110.0090.01122.46
8.4.100.0100.01117.55
8.4.90.0100.00920.29
8.4.80.0130.00918.83
8.4.70.0110.00619.04
8.4.60.0070.01018.94
8.4.50.0140.00618.50
8.4.40.0060.01319.57
8.4.30.0160.00318.76
8.4.20.0100.01019.82
8.4.10.0090.00020.49
8.3.280.0130.00918.31
8.3.270.0110.00916.88
8.3.260.0090.00816.31
8.3.250.0090.00818.98
8.3.240.0100.00917.00
8.3.230.0120.00516.63
8.3.220.0070.01019.17
8.3.210.0170.00316.66
8.3.200.0050.00416.82
8.3.190.0140.00517.09
8.3.180.0120.00718.91
8.3.170.0000.00818.89
8.3.160.0110.00718.96
8.3.150.0130.00317.20
8.3.140.0040.00418.97
8.3.130.0060.00318.29
8.3.120.0060.00320.73
8.3.110.0090.00020.94
8.3.100.0150.00018.31
8.3.90.0080.00026.77
8.3.80.0060.00318.31
8.3.70.0090.01516.63
8.3.60.0150.00316.63
8.3.50.0110.01118.38
8.3.40.0090.00919.02
8.3.30.0080.00819.08
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0070.00026.16
8.2.290.0120.00916.75
8.2.280.0110.00718.73
8.2.270.0150.00316.49
8.2.260.0110.00716.87
8.2.250.0060.00316.71
8.2.240.0060.00917.26
8.2.230.0000.00822.58
8.2.220.0040.00824.06
8.2.210.0060.01326.77
8.2.200.0030.00718.17
8.2.190.0070.01418.41
8.2.180.0110.00425.92
8.2.170.0090.00918.96
8.2.160.0030.01222.96
8.2.150.0080.00025.66
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0070.00720.94
8.2.110.0000.00920.52
8.2.100.0070.00320.49
8.1.330.0130.00621.98
8.1.320.0100.01017.83
8.1.310.0070.01016.64
8.1.300.0050.00517.79
8.1.290.0090.00330.84
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0060.00323.85
8.1.230.0070.00320.32
7.4.280.0080.00316.58

preferences:
102.96 ms | 403 KiB | 5 Q