thanks for all yours.
here is my APP/PORTAL/software:
ALL SCRIPTS INTO my APP load:
web/config.php
-> this file define:
time ZONE
directory for images
ect...
ONLY when users OPEN:
web/tools_14
web/tools_21
web/tools_26
I need use the class NumberFormatter()
then:
is a bad practice ADD into {web/config.php} the var
$n2text = new NumberFormatter('eng', NumberFormatter::SPELLOUT);
???
if I do then the WHOLE web use Xram with this CLASS,
if I not do (my current practice) then I need call into each "TOOL" the class
in your opinion which is the more efficient?
( if we need something as "function_very_hard()" then we only ADD this function/class into the fragment code who require that, and not into "config.php"
but this is only "NumberFormatter()"
what can you recommended to me?
that is all, thanks