use array, but remember, there is no type declaration in php.
example

$structure = array ( 'id' => 1,
                           'subs' => array( 'sub1', sub2'));

ntuser wrote:

Hi,

I´m a newbie in PHP.
How can I declare a structured type in PHP like the struct statement in C ?

Thanks

amjr


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to