Doc #71104 [Opn]: socket_import_stream(): does not mention NO SSL/TLS support
| From: | contact at sshilko dot com | Date: | Sat, 12 Dec 2015 18:22:05 +0000 |
| Subject: | Doc #71104 [Opn]: socket_import_stream(): does not mention NO SSL/TLS support | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12929@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71104&edit=1
ID: 71104
User updated by: contact at sshilko dot com
Reported by: contact at sshilko dot com
-Summary: does not mention NO SSL/TLS support
+Summary: socket_import_stream(): does not mention NO SSL/TLS
support
Status: Open
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
updated title
Previous Comments:
------------------------------------------------------------------------
[2015-12-12 18:21:26] contact at sshilko dot com
Description:
------------
---
From manual page: http://www.php.net/function.stream-set-timeout
---
socket_import_stream(): cannot represent a stream of type tcp_socket/ssl as a Socket Descriptor
Test script:
---------------
$stream = stream_socket_client('tls://google.com:443');
$sock = socket_import_stream($stream);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71104&edit=1