diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2002-08-02 10:08:53 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2002-08-02 10:08:53 +0000 |
commit | e5fa36eee4da397645498de55d957c4a438026e1 (patch) | |
tree | 1da299e347f1ca439416529d1f2bf5e5dde8a4e6 /ext/standard/php_string.h | |
parent | c9107a668f0b738193ae064d748b3b2117c5fcd6 (diff) | |
download | php-git-e5fa36eee4da397645498de55d957c4a438026e1.tar.gz |
added money_format() function
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r-- | ext/standard/php_string.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h index eb6330c34b..d63f91b254 100644 --- a/ext/standard/php_string.h +++ b/ext/standard/php_string.h @@ -85,7 +85,9 @@ PHP_FUNCTION(sscanf); #ifdef HAVE_STRCOLL PHP_FUNCTION(strcoll); #endif - +#if HAVE_STRFMON +PHP_FUNCTION(money_format); +#endif #if defined(HAVE_LOCALECONV) && defined(ZTS) PHP_MINIT_FUNCTION(localeconv); |