Hi
Just wanted to find out which one is 'better': using ini_set() to change settings or using a function (eg below). By better I mean faster / more secure or balance of the two. The PHP manual doesn't seem to distinguish.
For example I'm looking at either:
[code=php]
ini_set('date.t imezone',...)
[/code]
or
[code=php]
date_default_ti mezone_set();
[/code]
Thanks
Just wanted to find out which one is 'better': using ini_set() to change settings or using a function (eg below). By better I mean faster / more secure or balance of the two. The PHP manual doesn't seem to distinguish.
For example I'm looking at either:
[code=php]
ini_set('date.t imezone',...)
[/code]
or
[code=php]
date_default_ti mezone_set();
[/code]
Thanks
Comment