php-src/ext/standard/tests/general_functions/getmypid_basic.phpt

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