mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Merge branch 'PHP-5.6' into PHP-7.0
This commit is contained in:
commit
41de89f61b
16
ext/openssl/tests/openssl_get_cipher_methods.phpt
Normal file
16
ext/openssl/tests/openssl_get_cipher_methods.phpt
Normal file
@ -0,0 +1,16 @@
|
||||
--TEST--
|
||||
openssl_get_cipher_methods basic test
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("openssl")) print "skip";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(is_array(openssl_get_cipher_methods(true)));
|
||||
var_dump(is_array(openssl_get_cipher_methods(false)));
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
16
ext/openssl/tests/openssl_get_md_methods.phpt
Normal file
16
ext/openssl/tests/openssl_get_md_methods.phpt
Normal file
@ -0,0 +1,16 @@
|
||||
--TEST--
|
||||
openssl_get_md_methods basic test
|
||||
--CREDITS--
|
||||
marcosptf - <marcosptf@yahoo.com.br>
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!extension_loaded("openssl")) print "skip";
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(is_array(openssl_get_md_methods(true)));
|
||||
var_dump(is_array(openssl_get_md_methods(false)));
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
Loading…
Reference in New Issue
Block a user