php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75508 Optional arguments presented as required in gmp_export and gmp_import
Submitted: 2017-11-10 01:08 UTC Modified: 2018-01-29 22:16 UTC
From: anubas at hotmail dot com Assigned: vrana (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: 7.1.11 OS: FreeBSD 11.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: anubas at hotmail dot com
New email:
PHP Version: OS:

 

 [2017-11-10 01:08 UTC] anubas at hotmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.gmp-export
---

The last two arguments for gmp_export are optional (note the default value text for them in the manual) but the function is not defined with optional arguments. The gmp_import function has the same problem.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-11-13 05:13 UTC] kalle@php.net
-Status: Open +Status: Verified
 [2018-01-29 22:16 UTC] vrana@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: vrana
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC