--TEST-- openssl_public_encrypt() tests --EXTENSIONS-- openssl --FILE-- --EXPECTF-- bool(true) Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d bool(false) Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d bool(false) Warning: openssl_public_encrypt(): key parameter is not a valid public key in %s on line %d bool(false) bool(true) string(4) "test"