diff options
author | Zeev Suraski <zeev@php.net> | 2000-05-29 16:13:38 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-05-29 16:13:38 +0000 |
commit | c07a056dac7d23f5f3cf12680bca5f4b16b2430e (patch) | |
tree | 655d2577785f4fdc116d088cc1e76f5d52113a25 /ext/standard/basic_functions.c | |
parent | 56dcb7ed079992389ba1a1f494fe9a47e9ca42e1 (diff) | |
download | php-git-c07a056dac7d23f5f3cf12680bca5f4b16b2430e.tar.gz |
There's really no need for an entire file for a one line function...
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 1d58694497..cac92c13b3 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -327,6 +327,8 @@ function_entry basic_functions[] = { PHP_FE(extension_loaded, NULL) PHP_FE(get_extension_funcs, NULL) + PHP_FE(warn_not_available, NULL) + PHP_FE(parse_ini_file, NULL) /* functions from reg.c */ @@ -2008,6 +2010,15 @@ PHP_FUNCTION(get_extension_funcs) /* }}} */ + +/* This function is not directly accessible to end users */ +PHP_FUNCTION(warn_not_available) +{ + php_error(E_WARNING, "%s() is not supported in this PHP build", get_active_function_name()); + RETURN_FALSE; +} + + /* * Local variables: * tab-width: 4 |