3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 0 => 'Title1', 1 => 'Title2', 3 => 'Address1', 4 => 'Address2', ]; var_export( array_map( fn($title, $address) => get_defined_vars(), ...array_chunk($array, 2) ) );

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.0050.00316.45
8.5.00.0110.00919.99
8.4.150.0010.00214.05
8.4.140.0150.00717.33
8.4.130.0120.00717.84
8.4.120.0060.00520.55
8.4.110.0040.00518.85
8.4.100.0090.01117.71
8.4.90.0140.00718.59
8.4.80.0120.00724.06
8.4.70.0050.00419.33
8.4.60.0050.00422.38
8.4.50.0130.00820.42
8.4.40.0030.00617.59
8.4.30.0130.00719.53
8.4.20.0440.00617.42
8.4.10.0380.01017.30
8.3.280.0150.00618.41
8.3.270.0150.00716.42
8.3.260.0100.01016.57
8.3.250.0090.01018.95
8.3.240.0150.00516.99
8.3.230.0070.00216.41
8.3.220.0040.00518.90
8.3.210.0090.01118.43
8.3.200.0040.00416.52
8.3.190.0090.00517.30
8.3.180.0130.00718.67
8.3.170.0140.00317.11
8.3.160.0360.00816.36
8.3.150.0350.01016.54
8.3.140.0320.00616.47
8.3.130.0290.00616.33
8.3.120.0290.01316.43
8.3.110.0320.00916.33
8.3.100.0350.01116.13
8.3.90.0480.00416.52
8.3.80.0410.00916.44
8.3.70.0320.01416.64
8.3.60.0170.00718.47
8.3.50.0240.00316.45
8.3.40.0320.00317.34
8.3.30.0260.00617.39
8.3.20.0370.00317.27
8.3.10.0160.00617.40
8.3.00.0030.00719.27
8.2.290.0080.00420.38
8.2.280.0100.00918.18
8.2.270.0100.00716.41
8.2.260.0240.00016.16
8.2.250.0310.00616.42
8.2.240.0210.00316.64
8.2.230.0190.00516.45
8.2.220.0240.01416.22
8.2.210.0290.01116.48
8.2.200.0340.01016.64
8.2.190.0330.00616.16
8.2.180.0260.01116.39
8.2.170.0330.00717.75
8.2.160.0350.00717.57
8.2.150.0310.00917.58
8.2.140.0310.00917.42
8.2.130.0340.00617.44
8.2.120.0300.01017.65
8.2.110.0430.00017.43
8.2.100.0330.00617.62
8.2.90.0310.00317.71
8.2.80.0290.00417.54
8.2.70.0230.00317.48
8.2.60.0170.01217.19
8.2.50.0390.00017.20
8.2.40.0260.01517.39
8.2.30.0170.01717.00
8.2.20.0310.00317.54
8.2.10.0230.01417.63
8.2.00.0330.00317.50
8.1.320.0100.00816.07

preferences:
35.49 ms | 403 KiB | 5 Q