summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/getmypid_basic.phpt
blob: 3f4d9cd5cf9f04d033f54b30621a09ac2166f3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Test getmypid() function: basic test
--FILE--
<?php
/* Prototype  : int getmypid  ( void  )
 * Description: Gets the current PHP process ID.
 * Source code: ext/standard/pageinfo.c
 * Alias to functions:
 */

echo "Simple testcase for getmypid() function\n";

var_dump(getmypid());

echo "Done\n";
?>
--EXPECTF--
Simple testcase for getmypid() function
int(%d)
Done