3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { $arguments = func_get_args(); unset($arguments[0]); $params = array(); foreach ($arguments as $argument) { $params[] = sprintf('%d', $argument); } printf('%s(%s)', 'sdasd', implode(',', $params)); } foo (1, 2, 3);
Output for 4.3.0 - 7.1.0
sdasd(2,3)