Re: [PHP-DEV] Variables VS constantes

[email protected] (Derick Rethans)
Newsgroups php.dev
Message-ID <[email protected]>
Hello,

please forward user questions to the [email protected]
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/
-------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.