3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $variables; //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 - 5.6.28, 7.0.0 - 7.1.0
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: variables in /in/BXIcH on line 3