1--TEST-- 2Test posix_getppid() 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 getppid function\n"; 10 11 $ppid = posix_getppid(); 12 13 var_dump($ppid); 14 15?> 16===DONE==== 17--EXPECTF-- 18Basic test of POSIX getppid function 19int(%d) 20===DONE==== 21