Re: Variables VS constantes

From: Date: Fri, 28 Feb 2003 12:42:38 +0000
Subject: Re: Variables VS constantes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94662@lists.php.net to get a copy of this message
Hello, please forward user questions to the php-general@lists.php.net mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Fri, 28 Feb 2003, Cranky wrote: > Hello, > I would like to know if in a config file for > example, if it was better to use variables or > constantes ? > Is it a big difference of performance or in > memory used ? > > And the same question about the translation of > a site. > I would like to translate my site in many > langages. > So I want to create one file per langage to put > in the text translated in it. > Is it better to use variables, associatives arrays > or constantes ? > > Thanks a lot for your reply > > > > -- Stop mad cowboy disease! ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.dev (#94662) next »