Re: Zend API
| From: | Sara Golemon | Date: | Tue, 09 Mar 2004 15:01:40 +0000 |
| Subject: | Re: Zend API | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8463@lists.php.net to get a copy of this message | ||
Z_TYPE_P(pzval) will equal IS_ARRAY or IS_OBJECT (depending on which of the
two it is).
Array elements/Object properties can be found in HASH_OF(pzval).
As to actually accessing the elements/properties: Every function you'll
ever need for that can be found in Zend/zend_hash.h
Note that in PHP5, private/protected properties have unusual looking
property names (starting with nulls and the like).
-Sara
----- Original Message -----
From: "Axel Rimanek" <rimanek@in.tum.de>
Newsgroups: php.doc
To: <phpdoc@lists.php.net>
Sent: Tuesday, March 09, 2004 2:52 AM
Subject: Zend API
> Hello together,
> I have read a lot about php extensions now, among other things the
zend-api
> documentation.
> This documentation provides some basic information about how to acces
> variables - but only for simple types (e.g strings etc). Unfotunately I
> couldn't find any information about arrays and objects (which are stored
in
> hash-tables) - neither in the documentation nor in the sourcecode. Does
> anyone know where I can get further information?
>
> Thx, Axel