1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/posix/tests/posix_getsid_basic.phpt

22 lines
391 B
PHP

--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====