Created
March 1, 2012 21:46
-
-
Save thekid/1953448 to your computer and use it in GitHub Desktop.
PHP Bug 54511 reproduce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| uses('peer.SSLSocket'); | |
| class Bug54511 extends Object { | |
| public static function main(array $args) { | |
| $s= new SSLSocket('smtpb.scig.gov.hk', 465); | |
| $s->connect(); | |
| Console::writeLine('OK: ', $s); | |
| } | |
| } | |
| ?> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To test the XP framework sockets with
stream_socket_client(), you can use https://github.com/thekid/xp-framework/compare/socket-client