I wonder what is faster:
- loading/including a php file that contains some static data in an array within a function or
- parsing an ini-file that contains the data and puts it into an arary
I need that to know for my config files and some of them can be really big.
EDIT:
I tested it now with an array and an ini-file with 10.000 values each and came to the following result:
- Static Data took 0.0072767734527588 to complete
- INI file took 0.01829195022583 to load and parse