diff options
-rw-r--r-- | ext/rpc/rpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/rpc/rpc.c b/ext/rpc/rpc.c index 6955d8b545..a9e361c93f 100644 --- a/ext/rpc/rpc.c +++ b/ext/rpc/rpc.c @@ -396,6 +396,7 @@ static union _zend_function* rpc_get_method(zval *object, char *method, int meth zif->handler = ZEND_FN(rpc_call); zif->scope = intern->ce; zif->type = ZEND_INTERNAL_FUNCTION; + zif->fn_flags = ZEND_ACC_PUBLIC; /* add new method to the method table */ zend_ts_hash_add(&intern->function_table, method, method_len + 1, zif, sizeof(zend_function), &function); |