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_values(array_filter($matches[1])),array_filter($matches[2])));
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected ',' in /in/8O8mA on line 6
Process exited with code 255.