summaryrefslogtreecommitdiff
path: root/ext/date/tests/time_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/time_basic.phpt')
-rw-r--r--ext/date/tests/time_basic.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/date/tests/time_basic.phpt b/ext/date/tests/time_basic.phpt
new file mode 100644
index 0000000..116c0a4
--- /dev/null
+++ b/ext/date/tests/time_basic.phpt
@@ -0,0 +1,16 @@
+--TEST--
+Test return type and value for expected input time()
+--FILE--
+<?php
+/*
+ * proto int time(void)
+ * Function is implemented in ext/date/php_date.c
+*/
+
+var_dump(time());
+
+?>
+===DONE===
+--EXPECTF--
+int(%d)
+===DONE=== \ No newline at end of file