A set of macros was introduced into Zend's API that simplify access to zval
containers (see Table 62-1).
Table 62-1. API Macros for Accessing zval Containers
Macro
Refers to
Z_LVAL(zval)
(zval).value.lval
Z_DVAL(zval)
(zval).value.dval
Z_STRVAL(zval)
(zval).value.str.val
Z_STRLEN(zval)
(zval).value.str.len
Z_ARRVAL(zval)
(zval).value.ht
Z_LVAL_P(zval)
(*zval).value.lval
Z_DVAL_P(zval)
(*zval).value.dval
Z_STRVAL_P(zval_p)
(*zval).value.str.val
Z_STRLEN_P(zval_p)
(*zval).value.str.len
Z_ARRVAL_P(zval_p)
(*zval).value.ht
Z_LVAL_PP(zval_pp)
(**zval).value.lval
Z_DVAL_PP(zval_pp)
(**zval).value.dval
Z_STRVAL_PP(zval_pp)
(**zval).value.str.val
Z_STRLEN_PP(zval_pp)
(**zval).value.str.len
Z_ARRVAL_PP(zval_pp)
(**zval).value.ht
Php zend.api macros Function syntax tag
zend.api macros php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php zend.api macros syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.