3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $inputParameters = array( array('name' => 'p1', 'value' => 1, 'type' => 'number'), array('name' => 'p2', 'value' => 'enabled', 'type' => 'string'), array('name' => 'p2', 'value' => '2013-10-18', 'type' => 'string') ); //echo ['p1', 'p2', 'p3'].map(function($name){ return ':' . $name; }).join(','); //echo join(', ', array_map(function($name) { return ':' . $name; }, array('p1', 'p2', 'p3'))); ?>
Output for 5.3.0 - 7.1.0