php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/sockets/tests/ |
files >> //php-7.1.11/ext/sockets/tests/socket_create_pair.phpt |
--TEST-- Test for socket_create_pair() --SKIPIF-- <?php if (!extension_loaded('sockets')) { die('SKIP The sockets extension is not loaded.'); } --FILE-- <?php $sockets = array(); if (strtolower(substr(PHP_OS, 0, 3)) == 'win') { $domain = AF_INET; } else { $domain = AF_UNIX; } socket_create_pair($domain, SOCK_STREAM, 0, $sockets); var_dump($sockets); --EXPECT-- array(2) { [0]=> resource(4) of type (Socket) [1]=> resource(5) of type (Socket) }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`