getmypid_basic.phpt 375 B

1234567891011121314151617181920
  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. echo "Simple testcase for getmypid() function\n";
  11. var_dump(getmypid());
  12. echo "Done\n";
  13. ?>
  14. --EXPECTF--
  15. Simple testcase for getmypid() function
  16. int(%d)
  17. Done