Doc #70907 [Com]: incorrect info about INF

From: Date: Fri, 13 Nov 2015 21:42:30 +0000
Subject: Doc #70907 [Com]: incorrect info about INF
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12864@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70907&edit=1 ID: 70907 Comment by: slevy1 at pipeline dot com Reported by: slevy1 at pipeline dot com Summary: incorrect info about INF Status: Open Type: Documentation Problem Package: Documentation problem Operating System: n/a PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I suggest that it is more helpful to provide users the whole truth instead of just a slice. The truth is plain to see that INF became available as a constant in PHP4.3.6. Previous Comments: ------------------------------------------------------------------------ [2015-11-13 08:36:19] requinix@php.net How about the comment says they're available for all versions of PHP 5+? Given that's all the docs are supposed to cover now anyways. ------------------------------------------------------------------------ [2015-11-13 08:18:27] slevy1 at pipeline dot com Description: ------------ --- From manual page: http://www.php.net/math.constants --- "All constants without a labeled PHP version above are available starting with PHP 4.0.0." Except that INF is a constant that is only recognized by PHP4.3.6. Previous versions of PHP 4 do not recognize the unlabeled constant. Expected result: ---------------- I expected PHP4.0.0 to recognize the constant INF. It does not -- just perceives the string "INF". ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70907&edit=1

« previous php.doc.bugs (#12864) next »