[php-src] Issue #14043: is_float(integer) = true
| From: | SailorMax | Date: | Wed, 24 Apr 2024 21:35:07 +0000 |
| Subject: | [php-src] Issue #14043: is_float(integer) = true | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246811@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14043
Author: SailorMax
### Description
The following code:
```php
<?php
var_dump( is_float(12300000000000000000) );
```
Resulted in this output:
```
bool(true)
```
But I expected this output instead:
```
bool(false)
```
### PHP Version
PHP 8.3.3
### Operating System
Debian 11