3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $aServiceIds = array("test's"); $aServiceIds = array_map(function($argument) { return str_replace($argument[0]); }, $aServiceIds); echo '<pre>'; print_r($aServiceIds); echo '</pre'>;
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected ';' in /in/SMXRM on line 11
Process exited with code 255.