<?php $a1 = [ '59', '60', '19' ];$a2 = [ '3', '2', '1' ]; print_r(array_map(function($x, $y) { return $x * $y; }, $a1, $a2));
Standard input is empty
Array ( [0] => 177 [1] => 120 [2] => 19 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!