3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $re = '/([\D]+)|([\d]+)/'; $str = 'a74b8c0d3845e7'; preg_match_all($re, $str, $matches); print_r(array_combin($matches[1],$matches[2]);
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ';' in /in/XqddR on line 6
Process exited with code 255.