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-01-28 11:45 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:
Status: Open Package: OpenSSL related
PHP Version: Irrelevant OS: --
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [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)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 11:45 UTC] cmb@php.net
-Package: Documentation problem +Package: OpenSSL related
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC