Hi, i try add new function, but don't understand, why it working on macos, but on ubuntu it calls segmentation fault?
router.c (and added declaration in header):
PHP_METHOD(Phalcon_Mvc_Router, getPrefix) {
zval *route, *router_prefix = NULL;
PHALCON_MM_GROW();
PHALCON_CALL_METHOD(&route, this_ptr, "getmatchedroute");
PHALCON_CALL_METHOD(&router_prefix, route, "getprefix");
RETURN_CTOR(router_prefix);
}
Thanx for any help.