Performance Tip: Unset DomDocument

  • Since PHP 4.3, DomDocuments can be freed during script execution
  • PHP 4.3: $DomDocument->free();
  • PHP 5: unset $DomDocument;
  • Use it!
 
Performance Tip: Use DocumentFragment © copyright 2004  Bitflux GmbH