Return to getmypid_basic.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: Test getmypid() function: basic test 3: --FILE-- 4: <?php 5: /* Prototype : int getmypid ( void ) 6: * Description: Gets the current PHP process ID. 7: * Source code: ext/standard/pageinfo.c 8: * Alias to functions: 9: */ 10: 11: echo "Simple testcase for getmypid() function\n"; 12: 13: var_dump(getmypid()); 14: 15: echo "Done\n"; 16: ?> 17: --EXPECTF-- 18: Simple testcase for getmypid() function 19: int(%d) 20: Done