PuStudy.Com Start write and Run your Web Code Online Work, PuStudy.Com Provide Online Web Editor, Every Language Code Work in this Editor, Editor Work Like as - Html, Php, Css, Bootstrap, Asp, jQuery Etc.
<?php function addv($a, $b) { $a += $b; return $a; } $z = array(1, 2,3,4,5); $x=array_reduce($z,"addv"); echo $x; ?>