We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following code:
<?php var_dump(sprintf("%.17g", -INF));
Resulted in this output:
string(3) "INF"
But I expected this output instead:
string(4) "-INF"
PHP 8.3.11
Ubuntu 24.04