mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
20 lines
375 B
PHP
20 lines
375 B
PHP
--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
|