Re: consistent way to handle structs

From: Date: Fri, 11 Jan 2002 10:22:22 +0000
Subject: Re: consistent way to handle structs
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76600@lists.php.net to get a copy of this message
Georg Richter wrote:
is there (should be) a consistent way to pass or return a structure?! e.g.: a) Function mktime splits the structure in lot of parameters b) fstat returns a non assoc array c) dio_fstat (which seems to be identical to fstat) returns an assoc array
assoc array IMHO especialy mktime() is a good example on how *not* to things as not everyone in the world is used to month-day-year dates :( -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#76600) next »