[drupal-devel] no ?> needed at the end of modules

Karoly Negyesi karoly at negyesi.net
Sun Aug 21 11:55:20 UTC 2005


> $arr = array(1, 2, 3, 4, 5,);

Note that var_export where "the returned representation is valid PHP  
code." exports arrays in this way. OK, back to topic.

On memory consumption -- you do not need to benchmark that. It is trivial  
that you need additional memory to collect output.

I'll submit a patch which removes ?> from settings.php to begin with.

Regards

NK



More information about the drupal-devel mailing list