1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
Files
archived-php-src/ext/standard/tests/general_functions/getmypid_basic.phpt
T

24 lines
457 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());
// getmypid has not checks for spurious args
var_dump(getmypid("foo"));
echo "Done\n";
?>
--EXPECTF--
Simple testcase for getmypid() function
int(%d)
int(%d)
Done