1--TEST-- 2Test posix_getsid() function : error conditions 3--DESCRIPTION-- 4cases: no params, wrong param, wrong param range 5--CREDITS-- 6Moritz Neuhaeuser, info@xcompile.net 7PHP Testfest Berlin 2009-05-10 8--SKIPIF-- 9<?php 10 if(!extension_loaded("posix")) { 11 die("SKIP - POSIX extension not loaded"); 12 } 13?> 14--FILE-- 15<?php 16var_dump( posix_getsid(-1) ); 17?> 18--EXPECT-- 19bool(false) 20