3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_ereg_replace('\B', '|', 'abc'));

preferences:
48.26 ms | 409 KiB | 5 Q