How do I return value from method (int, char) in PHP?

Started by Dainton, November 17, 2016, 07:04:54 PM

Previous topic - Next topic


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:

    Z_LVAL_P(return_value) = 99;
    Z_TYPE_P(return_value) = IS_LONG;