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" <[EMAIL PROTECTED]>
Newsgroups: php.doc
To: <[EMAIL PROTECTED]>
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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to