Re: Function design recomendation?

From: Date: Wed, 21 Mar 2001 19:26:49 +0000
Subject: Re: Function design recomendation?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-49662@lists.php.net to get a copy of this message
On Wed, 21 Mar 2001, Fredrik Ohrn wrote: > > I'm about to properly implement cpdf_set_viewer_preferences which is > currently just a stub. > > The underlying function takes a struct with 8 fields. > > I'd like to avoid having to specify 8 parameters to the PHP equivalent > (especially as most of them has sensible defaults). > > How are structs 'emulated' in other places? Associative array keyed by preference name? -Andrei * I wish life had an UNDO function. *

« previous php.dev (#49662) next »