1--TEST--
2Test posix_getsid() function : basic functionality
3--SKIPIF--
4<?php
5    if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
6?>
7--FILE--
8<?php
9  echo "Basic test of posix_getsid function\n";
10
11  $pid = posix_getpid();
12  $sid = posix_getsid($pid);
13
14  var_dump($sid);
15
16?>
17===DONE====
18--EXPECTF--
19Basic test of posix_getsid function
20int(%d)
21===DONE====
22
23