<?phpforeach (array("123.4", "", "123e4", "slovo") as $a) { if (strval($a+0) === $a) { print $a; }}
Standard input is empty
123.4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!