.
config_param() = mixed()
init_const
config_section() = binary()
const_name() = binary()
init_func
default_value() = mixed()
error_return_value() = mixed()
max_args() = non_neg_integer()
min_args() = non_neg_integer()
php_config_results() = [{config_section(), config_param()}]
php_const_results() = [{const_name(), number() | binary()}]
php_function() = atom()
php_function_alias() = binary()
php_function_args() = {args, validation_args()}
php_function_defs() = php_function() | {php_function(), php_function_opts()}
php_function_opt() = pack_args | {namespace, ephp_ns:namespace()} | {alias, php_function_alias()} | php_function_args()
php_function_opts() = [php_function_opt()]
php_function_results() = [php_function_defs()]
type_arg() = mixed | string | integer | array | object | resource | raw | type_ref
validation_arg() = {type_arg(), default_value()} | type_arg()
validation_args() = {min_args(), max_args(), error_return_value(), [validation_arg()]} | [validation_arg()] | undefined | no_resolve
register/2 | register a module. |
register(Ctx::ephp:context_id(), Module::module()) -> ok
register a module.
See also: ephp_func.