3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 0 => array( 'gozhi' => 2, 'uzorong' => 1, 'ngangla' => 4, 'langthel' => 5 ), 1 => array( 'gozhi' => 5, 'uzorong' => 0, 'ngangla' => 3, 'langthel' => 2 ), 2 => array( 'gozhi' => 3, 'uzorong' => 0, 'ngangla' => 1, 'langthel' => 3 ), ); $res = array_walk(function($item) { return array_map(function() { return array_sum(func_get_args()); }, $item); }, $data); var_dump($res);

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.3.60.0140.00718.30
8.3.50.0130.00622.05
8.3.40.0140.00018.67
8.3.30.0140.00019.04
8.3.20.0080.00020.20
8.3.10.0030.00623.52
8.3.00.0070.00020.95
8.2.180.0090.00616.50
8.2.170.0100.00722.96
8.2.160.0100.00720.37
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00420.81
8.2.110.0090.00021.88
8.2.100.0040.00418.89
8.1.280.0130.00325.92
8.1.270.0060.00323.75
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00318.41
8.1.230.0040.00418.27
5.4.300.0150.05512.52
5.4.290.0120.06112.52
5.4.280.0100.06112.41
5.4.270.0130.07212.41
5.4.260.0210.09412.41
5.4.250.0080.06312.41
5.4.240.0100.05112.41
5.4.230.0090.05412.40
5.4.220.0110.05112.41
5.4.210.0060.05412.40
5.4.200.0110.05212.40
5.4.190.0110.07912.40
5.4.180.0130.05612.40
5.4.170.0200.04812.41
5.4.160.0160.07912.40
5.4.150.0180.05912.40
5.4.140.0140.04812.09
5.4.130.0150.04212.07
5.4.120.0160.04312.03
5.4.110.0130.06612.03
5.4.100.0140.07312.02
5.4.90.0160.06612.02
5.4.80.0100.05012.03
5.4.70.0090.05412.02
5.4.60.0130.06612.03
5.4.50.0110.04912.02
5.4.40.0080.04412.01
5.4.30.0140.04612.00
5.4.20.0110.04412.01
5.4.10.0110.04112.01
5.4.00.0090.04611.50
5.3.280.0070.05412.71
5.3.270.0080.05812.72
5.3.260.0120.05312.72
5.3.250.0120.05612.71
5.3.240.0110.04712.72
5.3.230.0090.04512.71
5.3.220.0060.04612.68
5.3.210.0130.04512.68
5.3.200.0040.05512.68
5.3.190.0090.05512.68
5.3.180.0090.04312.67
5.3.170.0110.04112.67
5.3.160.0090.05212.68
5.3.150.0080.04512.67
5.3.140.0070.04212.66
5.3.130.0080.04412.66
5.3.120.0140.04612.66
5.3.110.0090.04812.66
5.3.100.0080.04112.12
5.3.90.0110.03812.11
5.3.80.0110.04112.11
5.3.70.0100.04112.10
5.3.60.0080.04412.08
5.3.50.0100.04512.03
5.3.40.0130.05112.04
5.3.30.0070.05111.98
5.3.20.0090.04511.77
5.3.10.0100.04111.73
5.3.00.0070.04111.73

preferences:
31.99 ms | 401 KiB | 5 Q