3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pages = [ 'a' => ['title' => 'A'], 'c' => ['title' => 'C'], 'b' => ['title' => 'B'], 'n' => ['title' => '.N'], ]; uasort($pages, fn($a, $b) => preg_replace('_^[^0-9a-z]*_', '', strtolower($a['title'])) <=> preg_replace('_^[^0-9a-z]*_', '', strtolower($b['title'])) ); echo implode(', ', array_map(fn($page) => $page['title'], $pages));

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.0070.00920.11
8.5.00.0130.01020.19
8.4.150.0020.00014.05
8.4.140.0140.00818.02
8.4.130.0120.01017.95
8.4.120.0110.00920.51
8.4.110.0170.00222.35
8.4.100.0140.00717.96
8.4.90.0050.00418.89
8.4.80.0060.00319.85
8.4.70.0140.00518.04
8.4.60.0110.01018.86
8.4.50.0050.00520.65
8.4.40.0030.00617.81
8.4.30.0120.00420.47
8.4.20.0060.00325.88
8.4.10.0060.01323.68
8.3.280.0130.00918.48
8.3.270.0140.00616.87
8.3.260.0150.00616.95
8.3.250.0120.00718.66
8.3.240.0130.00616.61
8.3.230.0120.00716.75
8.3.220.0050.00216.94
8.3.210.0070.01018.44
8.3.200.0050.00416.97
8.3.190.0070.00417.16
8.3.180.0120.00816.95
8.3.170.0070.01116.98
8.3.160.0120.00616.88
8.3.150.0060.00318.69
8.3.140.0070.01116.93
8.3.130.0030.01018.64
8.3.120.0060.00318.97
8.3.110.0030.00520.94
8.3.100.0060.01024.06
8.3.90.0080.00026.77
8.3.80.0040.00417.97
8.3.70.0030.01316.75
8.3.60.0060.01217.00
8.3.50.0070.01416.98
8.3.40.0110.00420.17
8.3.30.0040.01118.66
8.3.20.0000.00724.18
8.3.10.0050.00824.16
8.3.00.0070.00723.49
8.2.290.0100.00720.49
8.2.280.0090.00918.54
8.2.270.0040.00417.42
8.2.260.0150.00319.11
8.2.250.0090.01116.76
8.2.240.0000.00916.93
8.2.230.0130.00022.58
8.2.220.0040.00437.54
8.2.210.0000.00826.77
8.2.200.0030.00618.54
8.2.190.0110.01117.00
8.2.180.0140.00718.54
8.2.170.0070.00719.17
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0080.00522.51
8.2.130.0070.00623.33
8.2.120.0130.00020.24
8.2.110.0090.00519.75
8.2.100.0090.00519.16
8.2.90.0070.01019.09
8.2.80.0070.00419.23
8.2.70.0070.01119.02
8.2.60.0000.00818.89
8.2.50.0150.00418.76
8.2.40.0050.00718.22
8.2.30.0080.00019.09
8.2.20.0040.00419.04
8.2.10.0110.00718.93
8.2.00.0060.00318.77
8.1.330.0110.00822.01
8.1.320.0100.00316.49
8.1.310.0080.00018.52
8.1.300.0060.00318.51
8.1.290.0080.00430.84
8.1.280.0070.00725.92
8.1.270.0060.00223.37
8.1.260.0040.00324.21
8.1.250.0040.00425.11
8.1.240.0100.00018.73
8.1.230.0100.00418.68
8.1.220.0040.00418.94
8.1.210.0070.00318.66
8.1.200.0110.00718.55
8.1.190.0040.01518.64
8.1.180.0130.00718.58
8.1.170.0130.00718.62
8.1.160.0070.01118.56
8.1.150.0140.00718.79
8.1.140.0100.01018.74
8.1.130.0130.00718.86
8.1.120.0100.01018.85
8.1.110.0130.00318.67
8.1.100.0160.00618.67
8.1.90.0140.00718.60
8.1.80.0040.00718.72
8.1.70.0080.00018.75
8.1.60.0060.00318.79
8.1.50.0060.00918.57
8.1.40.0090.00618.79
8.1.30.0050.00318.89
8.1.20.0080.00018.89
8.1.10.0100.00618.78
8.1.00.0050.00518.79
8.0.300.0060.00318.15
8.0.290.0220.00318.01
8.0.280.0100.01017.94
8.0.270.0090.00018.04
8.0.260.0090.00517.81
8.0.250.0080.00018.05
8.0.240.0110.00418.00
8.0.230.0130.00018.23
8.0.220.0080.00318.01
8.0.210.0120.00318.00
8.0.200.0030.00617.93
8.0.190.0080.00018.18
8.0.180.0050.00318.31
8.0.170.0090.00618.05
8.0.160.0040.00418.16
8.0.150.0180.00018.11
8.0.140.0170.00019.73
8.0.130.0170.00018.00
8.0.120.0130.00317.88
8.0.110.0070.00318.12
8.0.100.0070.00718.16
8.0.90.0030.01317.79
8.0.80.0060.00318.18
8.0.70.0090.00017.96
8.0.60.0150.00417.94
8.0.50.0120.00317.73
8.0.30.0030.00518.30
8.0.20.0060.00318.21
8.0.10.0030.01018.10

preferences:
110.89 ms | 403 KiB | 5 Q