mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
20 lines
375 B
Plaintext
20 lines
375 B
Plaintext
|
--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
|