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

  $ppid = posix_getppid();

  var_dump($ppid);

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