1--TEST--
2openssl_x509_free() tests
3--SKIPIF--
4<?php if (!extension_loaded("openssl")) print "skip"; ?>
5--FILE--
6<?php
7var_dump($res = openssl_x509_read("file://" . __DIR__ . "/cert.crt"));
8openssl_x509_free($res);
9var_dump($res);
10?>
11--EXPECTF--
12object(OpenSSLCertificate)#1 (0) {
13}
14
15Deprecated: Function openssl_x509_free() is deprecated in %s on line %d
16object(OpenSSLCertificate)#1 (0) {
17}
18