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/pcntl/tests/ |
files >> //php-7.1.11/ext/pcntl/tests/003.phpt |
--TEST-- pcntl: SIG_BLOCK, SIG_UNBLOCK, SIG_SETMASK --SKIPIF-- <?php if (!extension_loaded('pcntl')) die('skip pcntl extension not available'); elseif (!extension_loaded('posix')) die('skip posix extension not available'); elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available'); ?> --FILE-- <?php pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,SIGTERM), $old); var_dump(count($old)); pcntl_sigprocmask(SIG_BLOCK, array(SIGINT), $old); var_dump(count($old)); pcntl_sigprocmask(SIG_UNBLOCK, array(SIGINT), $old); var_dump(count($old)); pcntl_sigprocmask(SIG_SETMASK, array(SIGINT), $old); var_dump(count($old)); pcntl_sigprocmask(SIG_SETMASK, array(), $old); var_dump(count($old)); pcntl_sigprocmask(SIG_SETMASK, array(), $old); var_dump(count($old)); ?> --EXPECT-- int(0) int(2) int(3) int(2) int(1) int(0)y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`