Skip to content

Commit abeb38a

Browse files
committed
minor #14004 verify_peer in dsn should be 0 (fliespl)
This PR was merged into the 5.1 branch. Discussion ---------- verify_peer in dsn should be 0 Setting it to false value resolves to true in php 7.4 since false is taken as string. Commits ------- a1ce602 verify_peer in dsn should be 0
2 parents 355aa03 + a1ce602 commit abeb38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ configurable with the ``verify_peer`` option. Although it's not recommended to
171171
disable this verification for security reasons, it can be useful while developing
172172
the application or when using a self-signed certificate::
173173

174-
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=false'
174+
$dsn = 'smtp://user:pass@smtp.example.com?verify_peer=0'
175175

176176
.. versionadded:: 5.1
177177

0 commit comments

Comments
 (0)