3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('@(bcsqrt|bcpow|round|ceil|floor)\K|[^0-9.()+-/*%^:]@X', '', 'round_l(12)');
Output for 4.4.9, 5.2.4 - 7.2.0
round(12)
Output for 4.3.11 - 4.4.8, 5.0.0 - 5.2.3
Warning: preg_replace(): Compilation failed: unrecognized character follows \ at offset 32 in /in/nKc8S on line 2
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: unrecognized character follows \ at offset 32 in /in/nKc8S on line 2