3v4l.org

run code in 150+ 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); }