3v4l.org

run code in 300+ PHP versions simultaneously
<?php $donuts[0] = "Chocolate 02"; $donuts[1] = "Jelly 16"; $donuts[2] = "Glazed 01"; $donuts[3] = "Frosted 12"; array_multisort(array_map(fn($v) => substr($v, -2), $donuts), $donuts); var_export($donuts);

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.4.130.0100.01318.64
8.4.120.0090.01122.18
8.4.110.0060.00518.84
8.4.100.0110.01017.61
8.4.90.0120.00920.41
8.4.80.0100.00720.42
8.4.70.0030.00518.74
8.4.60.0160.00520.51
8.4.50.0150.00818.77
8.4.40.0160.00318.85
8.4.30.0030.01618.69
8.4.20.0160.00319.65
8.4.10.0120.00819.52
8.3.260.0160.00716.50
8.3.250.0110.00816.63
8.3.240.0110.00816.57
8.3.230.0100.00716.53
8.3.220.0110.00718.74
8.3.210.0100.00816.68
8.3.200.0020.00716.50
8.3.190.0060.00217.29
8.3.180.0070.00118.85
8.3.170.0080.00317.07
8.3.160.0040.01218.22
8.3.150.0090.00916.74
8.3.140.0140.00718.73
8.3.130.0080.00016.91
8.3.120.0000.00920.60
8.3.110.0100.00020.94
8.3.100.0090.00024.06
8.3.90.0030.00626.77
8.3.80.0080.00017.97
8.3.70.0070.01416.50
8.3.60.0120.00316.38
8.3.50.0100.00716.66
8.3.40.0110.01119.67
8.3.30.0090.01219.14
8.3.20.0140.00721.71
8.3.10.0100.01021.86
8.3.00.0150.00618.82
8.2.290.0060.00517.30
8.2.280.0100.01018.36
8.2.270.0140.00417.25
8.2.260.0120.00317.07
8.2.250.0120.00616.56
8.2.240.0120.00317.34
8.2.230.0070.00722.58
8.2.220.0130.00624.06
8.2.210.0070.00726.77
8.2.200.0090.00018.16
8.2.190.0110.00718.25
8.2.180.0030.01516.88
8.2.170.0110.00718.94
8.2.160.0150.00319.86
8.2.150.0070.01118.92
8.2.140.0140.00720.53
8.2.130.0070.01020.51
8.2.120.0140.00419.27
8.2.110.0150.00619.27
8.2.100.0100.00719.45
8.2.90.0150.00618.83
8.2.80.0140.00719.09
8.2.70.0110.01118.75
8.2.60.0120.00919.03
8.2.50.0140.00719.35
8.2.40.0150.00618.95
8.2.30.0040.01418.78
8.2.20.0140.00718.83
8.2.10.0070.01118.83
8.2.00.0030.01618.81
8.1.330.0050.00415.86
8.1.320.0090.01121.84
8.1.310.0050.00516.82
8.1.300.0040.00418.10
8.1.290.0120.00030.84
8.1.280.0030.01025.92
8.1.270.0170.00322.20
8.1.260.0140.00722.00
8.1.250.0170.00322.06
8.1.240.0110.01118.62
8.1.230.0070.01518.79
8.1.220.0180.00318.78
8.1.210.0140.00718.56
8.1.200.0110.01118.79
8.1.190.0130.01018.57
8.1.180.0140.01018.46
8.1.170.0090.00918.79
8.1.160.0140.01018.30
8.1.150.0110.01118.62
8.1.140.0100.01018.75
8.1.130.0160.00618.64
8.1.120.0160.00618.32
8.1.110.0110.00718.54
8.1.100.0070.01119.63
8.1.90.0130.00318.46
8.1.80.0140.00719.69
8.1.70.0100.01018.66
8.1.60.0080.00818.73
8.1.50.0100.01018.73
8.1.40.0070.01018.61
8.1.30.0070.01318.98
8.1.20.0150.00319.91
8.1.10.0140.00418.41
8.1.00.0150.00018.22

preferences:
60.77 ms | 403 KiB | 5 Q