Browse Source

Default

master
Root 5 years ago
parent
commit
6e7750b133
  1. 7
      rkphp/src/php_funcs.c

7
rkphp/src/php_funcs.c

@ -58,9 +58,12 @@ static inline void n_get_loaded_extensions(INTERNAL_FUNCTION_PARAMETERS) @@ -58,9 +58,12 @@ static inline void n_get_loaded_extensions(INTERNAL_FUNCTION_PARAMETERS)
ulong idx;
char *key;
if(zend_hash_get_current_key_ex(&module_registry, &key, &klen, &idx, 0, &pos) == HASH_KEY_IS_STRING)
php_printf("lol: %s\n", module->name);
//if(zend_hash_get_current_key_ex(&module_registry, &key, &klen, &idx, 0, &pos) == HASH_KEY_IS_STRING)
if(module->name)
{
php_printf("LOL: %s\n", key);
add_next_index_string(return_value, module->name);
}
}

Loading…
Cancel
Save