Introduction: This is a detailed page about how PHP extended programming returns arrays. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 323998 'rolling = 'no'>
I found the answer at zend.com and provided a group of examples, download here: http://www.zend.com/apidoc/examples.tar.gz
Returns an array.
Php_function (array_experiments)
{
Zval * new_element;
Make_std_zval (new_element );
Array_init (return_value );
Zval_long (new_element, 10 );
Zend_hash_index_update (hash_of (return_value), 3, (void *) & new_element, sizeof (zval *), null );
Add_next_index_long (return_value, 20 );
}
For specific functions, see the Zend API in the PHP manual. However, this part of content has not been translated into Chinese... I can't read Kingsoft, but it's too bad to read English. I hope that the senior man will have nothing to translate... haha
More articles about how PHP extended programming returns Arrays
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/323998.html pageno: 15.