php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71111 gmp_export function documentation bug
Submitted: 2015-12-13 18:41 UTC Modified: 2015-12-18 17:55 UTC
From: olegahead at gmail dot com Assigned: tpunt (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: olegahead at gmail dot com
New email:
PHP Version: OS:

 

 [2015-12-13 18:41 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-18 17:54 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=338303
Log: Fixes bug #71111
 [2015-12-18 17:54 UTC] tpunt@php.net
-Assigned To: +Assigned To: tpunt
 [2015-12-18 17:55 UTC] tpunt@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 18:00:02 2026 UTC