If a zval is a callable object, how can I run it in my extension c code ?
or how to convert a zval to a zend_fcall_info
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
after search for the
zend_is_callableand dive into the php src code, I know how to call a callable zval: