Skip to content

Commit bd4fb04

Browse files
committed
Remove example from comments
1 parent 0d86208 commit bd4fb04

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

ext/openssl/openssl.c

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4592,39 +4592,6 @@ PHP_FUNCTION(openssl_random_pseudo_bytes)
45924592
/* {{{ Given an Object ID, or object short or long name, return an associative
45934593
array containing any known OID, short name, and long name, or false if the
45944594
object is not known.
4595-
4596-
Example:
4597-
4598-
var_dump( openssl_oid_lookup( "CN" ) );
4599-
var_dump( openssl_oid_lookup( "unstructuredAddress" ) );
4600-
var_dump( openssl_oid_lookup( "1.2.3.4.5" ) );
4601-
var_dump( openssl_oid_lookup( "junk" ) );
4602-
4603-
Produces;
4604-
4605-
array(3) {
4606-
["oid"]=>
4607-
string(7) "2.5.4.3"
4608-
["lname"]=>
4609-
string(10) "commonName"
4610-
["sname"]=>
4611-
string(2) "CN"
4612-
}
4613-
4614-
array(2) {
4615-
["oid"]=>
4616-
string(20) "1.2.840.113549.1.9.8"
4617-
["lname"]=>
4618-
string(19) "unstructuredAddress"
4619-
}
4620-
4621-
array(1) {
4622-
["oid"]=>
4623-
string(9) "1.2.3.4.5"
4624-
}
4625-
4626-
bool(false)
4627-
46284595
*/
46294596
PHP_FUNCTION(openssl_oid_lookup)
46304597
{

0 commit comments

Comments
 (0)