<?$x1="235.6";$x2="25.5 яблок";echo ((int) $x1)."\n".((int) $x2);?>
Standard input is empty
235 25
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!