1--TEST--
2openssl_digest() basic test
3--EXTENSIONS--
4openssl
5--FILE--
6<?php
7$data = "openssl_digest() basic test";
8$method = "md5";
9$method2 = "sha1";
10
11var_dump(openssl_digest($data, $method));
12var_dump(openssl_digest($data, $method2));
13?>
14--EXPECT--
15string(32) "f0045b6c41d9ec835cb8948c7fec4955"
16string(40) "aa6e750fef05c2414c18860ad31f2c35e79bf3dc"
17