mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +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
|