php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60967 Parameter $args array structure is not descibed
Submitted: 2012-02-03 12:18 UTC Modified: 2017-11-03 19:53 UTC
Votes:5
Avg. Score:4.2 ± 0.7
Reproduced:4 of 5 (80.0%)
Same Version:1 (25.0%)
Same OS:1 (25.0%)
From: rihards dot grundmanis at gmail dot com Assigned: mjones (profile)
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: --
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: rihards dot grundmanis at gmail dot com
New email:
PHP Version: OS:

 

 [2012-02-03 12:18 UTC] rihards dot grundmanis at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.openssl-pkcs12-export#refsect1-function.openssl-pkcs12-export-parameters
---

Parameter $args array structure is not descibed!

Please define this info, that there could be this kind of structure only (could save a lot of time googling to nonsense) :




Test script:
---------------
example:

[CODE]

$args = array(
               'extracerts' => $CAcert,
               'friendly_name' => 'My {ID} CA signed certificate'
              );
openssl_pkcs12_export($signed_csr, $cerificate_out, $private_key_resource, $passphrase, $args);

[/CODE]

Expected result:
----------------
--

Actual result:
--------------
--

Patches

documentation-sample (last revision 2012-02-03 12:23 UTC by rihards dot grundmanis at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 11:45 UTC] cmb@php.net
-Package: Documentation problem +Package: OpenSSL related
 [2017-11-03 19:53 UTC] mjones@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mjones
 [2017-11-03 19:53 UTC] mjones@php.net
Fixed in svn r342954 as of 2017-08-28
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Mar 30 21:01:29 2025 UTC