3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_regex_encoding("UTF-8"); mb_ereg_search_init('(ab(cd)ef)'); $r = mb_ereg_search('\(.+\)'); $r = mb_ereg_search_getregs(); if(!$r) { echo "null\n"; }else{ $r = mb_ereg_search_getregs(); //get first result do{ echo mb_ereg_search_regs() . PHP_EOL; }while($r); }
Output for 7.0.20 - 7.2.0

Process exited with code 137.