3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($aaa):?float { return '1aaa'; } var_dump(foo(123));
Output for 7.3.0rc3
Notice: A non well formed numeric value encountered in /in/aVJUd on line 3 float(1)