summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_getsid_basic.phpt
blob: 758ec6055dab8582759b4370987d430c06f67971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Test posix_getsid() function : basic functionality
--SKIPIF--
<?php
	if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
?>
--FILE--
<?php
  echo "Basic test of posix_getsid function\n";

  $pid = posix_getpid();
  $sid = posix_getsid($pid);

  var_dump($sid);

?>
===DONE====
--EXPECTF--
Basic test of posix_getsid function
int(%d)
===DONE====