PHP array include performance

Posted by tau on Stack Overflow See other posts from Stack Overflow or by tau
Published on 2010-05-03T23:34:21Z Indexed on 2010/05/03 23:38 UTC
Read the original article Hit count: 372

Filed under:
|
|
|

What type of performance hit can I expect if I include a huge PHP array? For example, lets say I have a 1GB PHP array in "data.php" that looks like

$data = array( //1GB worth of data )

If I include that huge "data.php" file on "header.php", how will it affect the performance of "header.php" when it executes? Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about array