3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$str = '$123,34.00A';echo preg_replace('/[^0-9.,]/', '', $str);?>
Output for 5.4.0 - 5.6.14
Parse error: syntax error, unexpected '$str' (T_VARIABLE) in /in/j00YI on line 1
Process exited with code 255.