Doc #71111 [Asn]: gmp_export function documentation bug
| From: | tpunt@php.net | Date: | Fri, 18 Dec 2015 17:55:41 +0000 |
| Subject: | Doc #71111 [Asn]: gmp_export function documentation bug | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12965@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71111&edit=1
ID: 71111
Updated by: tpunt@php.net
Reported by: olegahead at gmail dot com
Summary: gmp_export function documentation bug
Status: Assigned
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: tpunt
Block user comment: N
Private report: N
New Comment:
Fixed with commit: https://svn.php.net/viewvc?view=revision&revision=338303
Previous Comments:
------------------------------------------------------------------------
[2015-12-18 17:54:53] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=338303
Log: Fixes bug #71111
------------------------------------------------------------------------
[2015-12-13 18:41:24] olegahead at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.gmp-export
---
The documentation shows that the following code will send to output "AA".
<?php
$number = gmp_init(6565);
echo gmp_export($number) . "\n";
?>
But it is not.
If you really want send to the output "AA", you need pass number 16705.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71111&edit=1