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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
22 + 8 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 18:01:28 2024 UTC