Re: Structured types

From: Date: Fri, 10 Jan 2003 13:19:18 +0000
Subject: Re: Structured types
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131104@lists.php.net to get a copy of this message
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


« previous php.general (#131104) next »