RETURN_RESOURCE

RETURN_RESOURCE -- Return a resource from a function

Description

#include <zend_API.h>

void RETURN_RESOURCE ( resource r )

RETURN_RESOURCE() sets the return_value of the given function to r and returns control to the calling function.

Parameters

r

The resource to be returned.