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