PHP版のaccumulate

PHPのcreate_functionの仕様がなんか好きじゃないから、夜遅かったし面倒くさかったしオチにちょうどよかったから途中でやめたんですが、


PHPを貶めようとしている危険なエントリ。
なんか怒られたのでPHP版も書くとこうですかね?

http://codepad.org/BXWMhVAl

<?php
echo array_reduce(array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), create_function('$a,$b', 'return $a+$b;'));
echo array_reduce(array("a", "b", "c"), create_function('$a,$b', 'return $a.$b;'));
?>