summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/getmypid_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/getmypid_basic.phpt')
-rw-r--r--ext/standard/tests/general_functions/getmypid_basic.phpt20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/getmypid_basic.phpt b/ext/standard/tests/general_functions/getmypid_basic.phpt
new file mode 100644
index 0000000..869eb59
--- /dev/null
+++ b/ext/standard/tests/general_functions/getmypid_basic.phpt
@@ -0,0 +1,20 @@
+--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 \ No newline at end of file