1--TEST-- 2Test posix_getsid() function test 3--DESCRIPTION-- 4Get the current session id of a process pid (POSIX.1, 4.2.1) 5Source code: ext/posix/posix.c 6--CREDITS-- 7Moritz Neuhaeuser, info@xcompile.net 8PHP Testfest Berlin 2009-05-10 9--EXTENSIONS-- 10posix 11--FILE-- 12<?php 13echo "*** Testing posix_getsid() : function test ***\n"; 14 15$pid = posix_getpid(); 16echo "\n-- Testing posix_getsid() function with current process pid --\n"; 17var_dump( is_long(posix_getsid($pid)) ); 18 19?> 20--EXPECT-- 21*** Testing posix_getsid() : function test *** 22 23-- Testing posix_getsid() function with current process pid -- 24bool(true) 25