|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63436 error in openssl_seal documented example #1
Submitted: 2012-11-04 18:03 UTC Modified: 2015-04-16 11:45 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: muhanad_alkhalisy at yahoo dot com Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: 5.3.18 OS: windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: muhanad_alkhalisy at yahoo dot com
New email:
PHP Version: OS:


 [2012-11-04 18:03 UTC] muhanad_alkhalisy at yahoo dot com
From manual page:

Test script:
$ekeys = array();
openssl_seal($data, $sealed, $ekeys, array($pk1, $pk2));

Expected result:
return multiple envelop keys related to public keys  


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-07 19:27 UTC] mail+php at requinix dot net
I can't tell what the problem (or the fix) is supposed to be. That $ekeys is 
undefined before it's passed to openssl_seal()? That's okay, it's by-reference so 
the function will create the variable for you.

Please explain where the bug is.
 [2015-04-16 11:45 UTC]
-Status: Open +Status: No Feedback
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed May 05 20:01:23 2021 UTC