Hello, I would like to submit a question about the theme, how do i return value from method (int, char) in php? Thank you for giving me your help as soon as possible.
Returning a value from a function back to the script involves populating the special, preallocated return_value container. For example, this returns an integer:
PHP_FUNCTION(foo) {
Z_LVAL_P(return_value) = 99;
Z_TYPE_P(return_value) = IS_LONG;
}