PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

posix_getppid> <posix_getpgrp
Last updated: Fri, 14 Nov 2008

view this page in

posix_getpid

(PHP 4, PHP 5)

posix_getpidReturn the current process identifier

Description

int posix_getpid ( void )

Return the process identifier of the current process.

Return Values

Returns the identifier, as an integer.

Examples

Example #1 Example use of posix_getpid()

<?php
echo posix_getpid(); //8805
?>

See Also



add a note add a note User Contributed Notes
posix_getpid
There are no user contributed notes for this page.

posix_getppid> <posix_getpgrp
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites