Re: About functions
| From: | shire | Date: | Mon, 23 Mar 2009 20:44:43 +0000 |
| Subject: | Re: About functions | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6247@lists.php.net to get a copy of this message | ||
Developer wrote:
Hello, I can see this functions: /* {{{ PHP_FUNCTION declarations */ PHP_FUNCTION(apc_cache_info); PHP_FUNCTION(apc_clear_cache); PHP_FUNCTION(apc_sma_info); PHP_FUNCTION(apc_store); PHP_FUNCTION(apc_fetch); PHP_FUNCTION(apc_delete); PHP_FUNCTION(apc_delete_file); PHP_FUNCTION(apc_compile_file); PHP_FUNCTION(apc_define_constants); PHP_FUNCTION(apc_load_constants); PHP_FUNCTION(apc_add); PHP_FUNCTION(apc_inc); PHP_FUNCTION(apc_dec); PHP_FUNCTION(apc_cas); /* }}} */ But, why not? apc_store_file(), apc_fetch_file(), Any way to load compiled file from disk?These are in CVS Head and are experimental. You'll have to look at the code comments to see what the arguments are currently: PHP_FUNCTION(apc_bin_dump); PHP_FUNCTION(apc_bin_load); PHP_FUNCTION(apc_bin_dumpfile); PHP_FUNCTION(apc_bin_loadfile);
apc_compile_string(),There's a feature request for doing something like apc_eval already, I suppose it's something that could be added I'm just rightly nervous about eval() in general. Do you have a strong use case for this? -shire