3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $options = array('decimal' => ','); $var = 3,14; $result = filter_var( $var, FILTER_VALIDATE_FLOAT, array(array('options' => $options)) ); var_dump($result);
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected ',' in /in/5WRlD on line 4
Process exited with code 255.