summaryrefslogtreecommitdiff
path: root/ext/standard/datetime.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2004-09-29 04:57:19 +0000
committerSterling Hughes <sterling@php.net>2004-09-29 04:57:19 +0000
commit8f1a327edb037b3af1c5e8f716acfd1f7858eac8 (patch)
tree07bbf378a9534028a485c13c081e96a720657c41 /ext/standard/datetime.h
parentf890909ac4cd14c3557fc403fe055ab278d11e0b (diff)
downloadphp-git-8f1a327edb037b3af1c5e8f716acfd1f7858eac8.tar.gz
Add strptime function.
Diffstat (limited to 'ext/standard/datetime.h')
-rw-r--r--ext/standard/datetime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/datetime.h b/ext/standard/datetime.h
index a08c17f7e5..755d40611d 100644
--- a/ext/standard/datetime.h
+++ b/ext/standard/datetime.h
@@ -31,6 +31,9 @@ PHP_FUNCTION(gmdate);
PHP_FUNCTION(localtime);
PHP_FUNCTION(getdate);
PHP_FUNCTION(checkdate);
+#if HAVE_STRPTIME
+PHP_FUNCTION(strptime);
+#endif
#if HAVE_STRFTIME
PHP_FUNCTION(strftime);
PHP_FUNCTION(gmstrftime);