Bug #74381 [Opn]: Possible bug
| From: | peehaa@php.net | Date: | Thu, 06 Apr 2017 10:48:22 +0000 |
| Subject: | Bug #74381 [Opn]: Possible bug | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14590@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74381&edit=1
ID: 74381
Updated by: peehaa@php.net
Reported by: rjhdby@php.net
Summary: Possible bug
Status: Open
Type: Bug
Package: Documentation problem
Operating System: -
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I also like how the signature says int and the return values section says bool.
Previous Comments:
------------------------------------------------------------------------
[2017-04-06 10:44:04] rjhdby@php.net
Description:
------------
---
From manual page: http://www.php.net/function.mcrypt-enc-self-test
---
mcrypt_enc_self_test
The function returns TRUE if the self test succeeds, or FALSE when it fails.
!!!BUT!!!
mcrypt_enc_self_test
If the self test succeeds it returns FALSE. In case of an error, it returns TRUE.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74381&edit=1