Introduction to the implementation of foreign functions plus the related interfaces such as ph7_value_to_int(), ph7_result_string() and so on.