diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-05-27 19:27:20 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-05-27 19:27:20 +0000 |
commit | fb39eda0d80f0b45cbdf17c9b898298f90f4812b (patch) | |
tree | ab06cab4b0a4e2e433daad1be9fd5f3aa28973aa /ext/standard/datetime.c | |
parent | afccb5861212d0931fcf61ef8f4e4141700025f2 (diff) | |
download | php-git-fb39eda0d80f0b45cbdf17c9b898298f90f4812b.tar.gz |
a second (cleaner?) try on warnings about unsupported functions
Diffstat (limited to 'ext/standard/datetime.c')
-rw-r--r-- | ext/standard/datetime.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index 3626d29e21..d9b0b4b3d6 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -677,17 +677,11 @@ void _php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm) efree(buf); RETURN_FALSE; } -#endif - /* {{{ proto string strftime(string format [, int timestamp]) Format a local time/date according to locale settings */ PHP_FUNCTION(strftime) { -#if HAVE_STRFTIME _php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); -#else - PHP_NOT_IN_THIS_BUILD(); -#endif } /* }}} */ @@ -695,14 +689,11 @@ PHP_FUNCTION(strftime) Format a GMT/CUT time/date according to locale settings */ PHP_FUNCTION(gmstrftime) { -#if HAVE_STRFTIME _php_strftime(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); -#else - PHP_NOT_IN_THIS_BUILD(); -#endif } /* }}} */ +#endif /* {{{ proto int strtotime(string time, int now) Convert string representation of date and time to a timestamp */ |