1--TEST-- 2Test posix_getpgid() 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_getpgid function\n"; 10 11 $pid = posix_getpid(); 12 $pgid = posix_getpgid($pid); 13 14 var_dump($pgid); 15 16?> 17===DONE==== 18--EXPECTF-- 19Basic test of posix_getpgid function 20int(%d) 21===DONE==== 22 23 24