3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $in = 'Kb 06/11/2001'; $result = preg_replace("/[-!$%^&*()_+|~=`{}\[\][^0-9]:";'<>?,.\/]/", "", $in); echo $result;
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';' in /in/79ee4 on line 4
Process exited with code 255.