3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mb_ereg_replace('(%)', '\\\1', 'a%c'));

preferences:
61.72 ms | 409 KiB | 5 Q