3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sourceData = [ ['id' => 12, 'value' => '1'], ['id' => 13, 'value' => '2.5'], [ 'id' => 14, 'value' => '3Hallo'], ]; echo array_sum(array_column($sourceData, 'value'));

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.140.0190.01017.76
8.4.130.0140.00717.91
8.4.120.0130.00720.65
8.4.110.0090.01022.40
8.4.100.0170.00320.51
8.4.90.0090.01018.74
8.4.80.0080.00418.50
8.4.70.0070.00517.95
8.4.60.0080.01219.44
8.4.50.0080.01319.37
8.3.270.0110.01216.68
8.3.260.0110.00916.73
8.3.250.0100.00818.61
8.3.240.0050.01417.27
8.3.230.0070.00716.86
8.3.220.0110.00718.76
8.3.210.0390.00516.61
8.3.200.0370.00816.50
8.3.190.0050.00318.22
8.3.180.0110.00816.41
8.3.50.0130.00616.44
8.2.290.0240.01017.78
8.2.280.0090.01016.20

preferences:
42 ms | 403 KiB | 5 Q