3v4l.org

run code in 300+ PHP versions simultaneously
<?php $phones = '123456;7890'; echo json_encode(['phones' => array_map( fn($numbers) => get_defined_vars(), explode(';', $phones) )]);

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.00.0120.00919.89
8.4.150.0030.00014.05
8.4.140.0110.00917.43
8.4.130.0120.00917.70
8.4.120.0090.01120.35
8.4.110.0120.00918.71
8.4.100.0110.01017.79
8.4.90.0100.01120.51
8.4.80.0050.00318.76
8.4.70.0110.00918.87
8.4.60.0150.00620.68
8.4.50.0070.00217.77
8.4.40.0090.00617.73
8.4.30.0130.00618.90
8.4.20.0140.00719.54
8.4.10.0050.00319.59
8.3.280.0130.00918.27
8.3.270.0120.00716.83
8.3.260.0110.00916.57
8.3.250.0100.00918.76
8.3.240.0090.01116.54
8.3.230.0120.00816.75
8.3.220.0100.00819.16
8.3.210.0100.01018.41
8.3.200.0040.00516.54
8.3.190.0040.00717.16
8.3.180.0120.00618.69
8.3.170.0180.00016.73
8.3.160.0120.00617.11
8.3.150.0050.00317.10
8.3.140.0050.00317.25
8.3.130.0120.00318.55
8.3.120.0060.00318.85
8.3.110.0090.00020.94
8.3.100.0030.00716.39
8.3.90.0080.00326.77
8.3.80.0080.00326.77
8.3.70.0070.00426.77
8.3.60.0170.01026.77
8.3.50.0080.00326.77
8.3.40.0090.00626.77
8.3.30.0060.00626.77
8.3.20.0060.00626.77
8.3.10.0080.00426.77
8.3.00.0060.00626.77
8.2.290.0090.00916.79
8.2.280.0110.00818.42
8.2.270.0160.00317.31
8.2.260.0180.00018.36
8.2.250.0050.00318.63
8.2.240.0040.00417.06
8.2.230.0120.00322.58
8.2.220.0030.00624.06
8.2.210.0080.00426.77
8.2.200.0070.00426.77
8.2.190.0040.00826.77
8.2.180.0050.00526.77
8.2.170.0060.00626.77
8.2.160.0070.00326.77
8.2.150.0100.00026.77
8.2.140.0040.00826.77
8.2.130.0070.00426.77
8.2.120.0040.00826.77
8.2.110.0070.00426.77
8.2.100.0110.00026.77
8.2.90.0040.00726.77
8.2.80.0060.00326.77
8.2.70.0030.00726.77
8.2.60.0080.00326.77
8.2.50.0060.00326.77
8.2.40.0080.00826.77
8.2.30.0160.00026.77
8.2.20.0100.00726.77
8.2.10.0160.00026.77
8.2.00.0130.00326.77
8.1.330.0050.00516.28
8.1.320.0110.00816.13
8.1.310.0130.00317.97
8.1.300.0000.00817.84
8.1.290.0090.00926.77
8.1.280.0120.00426.77
8.1.270.0200.00026.77
8.1.260.0100.01026.77
8.1.250.0100.00626.77
8.1.240.0150.00626.77
8.1.230.0040.00926.77
8.1.220.0150.00426.77
8.1.210.0190.00026.77
8.1.200.0140.00526.77
8.1.190.0130.00826.77
8.1.180.0170.00726.77
8.1.170.0150.00326.77
8.1.160.0210.00326.77
8.1.150.0140.00326.77
8.1.140.0060.01226.77
8.1.130.0190.00026.77
8.1.120.0080.01126.77
8.1.110.0090.00926.77
8.1.100.0180.00026.77
8.1.90.0100.00526.77
8.1.80.0150.00626.77
8.1.70.0190.00026.77
8.1.60.0150.00326.77
8.1.50.0130.00426.77
8.1.40.0120.00626.77
8.1.30.0150.00026.77
8.1.20.0190.00326.77
8.1.10.0200.00026.77
8.1.00.0150.00426.77

preferences:
38.31 ms | 403 KiB | 5 Q