1--TEST--
2openssl_encrypt() crash with old OpenSSL
3--SKIPIF--
4<?php if (!extension_loaded("openssl")) print "skip"; ?>
5--FILE--
6<?php
7openssl_encrypt('', 'AES-128-CBC', 'foo');
8var_dump("done");
9?>
10--EXPECTF--
11
12Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in %s on line %d
13string(4) "done"