php-8.0.30-src/ext/posix/tests/posix_getsid_error.phpt

20 lines
386 B
PHP

--TEST--
Test posix_getsid() function : error conditions
--DESCRIPTION--
cases: no params, wrong param, wrong param range
--CREDITS--
Moritz Neuhaeuser, info@xcompile.net
PHP Testfest Berlin 2009-05-10
--SKIPIF--
<?php
if(!extension_loaded("posix")) {
die("SKIP - POSIX extension not loaded");
}
?>
--FILE--
<?php
var_dump( posix_getsid(-1) );
?>
--EXPECT--
bool(false)