Doc #70907 [Opn]: incorrect info about INF

From: Date: Fri, 13 Nov 2015 08:36:20 +0000
Subject: Doc #70907 [Opn]: incorrect info about INF
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12863@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 Updated by: requinix@php.net 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: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#12863) next »