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
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:
46 - 35 = ?
Subscribe to this entry?

 
 [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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC