1.1 ! misho 1: --TEST-- ! 2: Bug #30726 (-.1 like numbers are not being handled correctly) ! 3: --FILE-- ! 4: <?php ! 5: echo (int) is_float('-.1' * 2), "\n"; ! 6: ?> ! 7: --EXPECT-- ! 8: 1