NYCPHP Meetup

NYPHP.org

[nycphp-talk] Reading in strings from text file

David Krings ramons at gmx.net
Mon Dec 10 12:49:32 EST 2007


Hi!

I am about to start on a module for i18n and wonder if anyone has experience 
on how long it takes to read in let's say 1,000 strings of about 30 characters 
on average from a text file that has numeric keys, with those keys  becoming 
the key of an array that in the end is to be stored in $_SESSION. Is there a 
better place than $_SESSION to hold this? What I really want to prevent is to 
have each script that generates text output have to read in its own strings as 
this adds management needs to make sure the right strings are picked up.
Anyone knows how well this would scale with 10,000 or 100,000 strings? Sure, I 
could try it out, but asking NYPHP is way faster.

David



More information about the talk mailing list