mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
9 lines
140 B
PHP
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
|