php-8.0.30-src/tests/lang/bug30726.phpt

9 lines
140 B
PHP

--TEST--
Bug #30726 (-.1 like numbers are not being handled correctly)
--FILE--
<?php
echo (int) is_float('-.1' * 2), "\n";
?>
--EXPECT--
1