3v4l.org

run code in 300+ PHP versions simultaneously
<?php $itineary = array (array('portName'=>'Day At Sea'), array('portName'=>'Moscow)); $badPorts = array('At Sea', 'Day At Sea', 'Cruising The Mediterranean Sea'); $image = ''; $image .= implode(',', array_reduce($itinerary, function ($result, $item) use (&$index, $badPorts) { if(!in_array($item['portName'], $badPorts)) $result[$index] = $item['portName']; $index++; return $result; }));

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)
5.4.320.0090.03512.50
5.4.310.0040.04012.49
5.4.300.0070.04512.50
5.4.290.0070.04512.49
5.4.280.0090.04112.39
5.4.270.0100.04912.39
5.4.260.0120.06912.39
5.4.250.0120.05612.39
5.4.240.0090.06812.39
5.4.230.0120.05312.38
5.4.220.0090.05012.38
5.4.210.0090.05012.38
5.4.200.0080.05412.38
5.4.190.0100.04612.38
5.4.180.0070.04212.38
5.4.170.0100.04312.38
5.4.160.0110.04412.38
5.4.150.0110.05712.37
5.4.140.0100.04112.06
5.4.130.0110.03912.04
5.4.120.0200.05212.01
5.4.110.0110.04312.01
5.4.100.0100.04412.00
5.4.90.0110.04712.00
5.4.80.0090.05212.00
5.4.70.0180.05112.00
5.4.60.0100.04112.00
5.4.50.0160.05612.00
5.4.40.0130.05211.99
5.4.30.0110.06011.98
5.4.20.0090.04411.98
5.4.10.0100.04211.99
5.4.00.0110.05311.48
5.3.290.0070.04112.80
5.3.280.0130.07012.71
5.3.270.0130.04212.73
5.3.260.0100.04812.72
5.3.250.0090.04612.72
5.3.240.0100.04212.72
5.3.230.0110.04612.71
5.3.220.0100.04312.68
5.3.210.0100.04612.68
5.3.200.0120.04412.68
5.3.190.0120.05212.68
5.3.180.0080.04412.67
5.3.170.0100.05012.67
5.3.160.0080.05312.67
5.3.150.0120.05012.67
5.3.140.0120.04512.66
5.3.130.0140.04512.66
5.3.120.0150.05512.66
5.3.110.0090.04712.66
5.3.100.0120.04512.12
5.3.90.0130.04112.08
5.3.80.0110.04112.08
5.3.70.0120.04412.07
5.3.60.0120.04412.07
5.3.50.0140.05112.00
5.3.40.0220.06212.00
5.3.30.0150.04411.95
5.3.20.0160.04911.73
5.3.10.0140.06611.70
5.3.00.0130.06411.68

preferences:
140.9 ms | 1386 KiB | 7 Q