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: -
Votes:3
Avg. Score:4.3 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: rihards dot grundmanis at gmail dot com Assigned:
Status: Open Package: Documentation problem
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

 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 01:01:59 2014 UTC