3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "Hello! 123 test this? <456>. done? 100%"; $int = intval(preg_replace('~<(.*?)>~', '', $string), 10); echo $int;
based on 0hgIK
Output for 5.6.0 - 7.3.0rc2
0