3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = date_sunset($_SERVER['REQUEST_TIME'], SUNFUNCS_RET_STRING, 36.23, 139.04, 90.6, 9); $str = preg_replace_callback('/\d|(:)/', function($m) { return vsprintf( '<img src="%s.gif" alt="%s" />', isset($m[1]) ? array('colon', ':') : array($m[0], $m[0]) ); ), $str); echo $str;
Output for 5.3.0 - 5.4.19
Parse error: syntax error, unexpected ')' in /in/c1hpG on line 9
Process exited with code 255.