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