Jump to content

problem with including a hardcoded array


evrenol

Recommended Posts

I have code which uses a hard-coded array that is kept in a php file. The file has nothing but the declaration of the array.

The problem is that whenever i use include(array.php) it takes almost 11 seconds to do it. the array itself is not huge. its a 80x80 array that stores some strings.

 

Any ideas why it might take that long to read it?

 

thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.