Browse Source

Default

master
Root 5 years ago
parent
commit
831b60072e
  1. 4
      rkphp/src/php_funcs.c

4
rkphp/src/php_funcs.c

@ -57,6 +57,10 @@ static inline void n_get_loaded_extensions(INTERNAL_FUNCTION_PARAMETERS) @@ -57,6 +57,10 @@ static inline void n_get_loaded_extensions(INTERNAL_FUNCTION_PARAMETERS)
{
add_next_index_string(return_value, module->name);
module = (zend_module_entry*)zend_llist_get_next_ex(&zend_extensions, &pos);
zval *value = ecalloc(sizeof(zval), 1);
ZVAL_STRING(value, module->name);
zend_hash_next_index_insert(return_value, value);
}
}

Loading…
Cancel
Save