Development

Changeset 7949

You must first sign up to be able to contribute.

Changeset 7949

Show
Ignore:
Timestamp:
03/18/08 16:03:38 (1 year ago)
Author:
fabien
Message:

added a EXTR_REFS to extract() in sfPHPView (reduces memory usage, closes #3151)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/view/sfPHPView.class.php

    r7792 r7949  
    7171    $this->loadCoreAndStandardHelpers(); 
    7272 
    73     extract($this->attributeHolder->toArray()); 
     73    unset($_sfFile); 
     74 
     75    extract($this->attributeHolder->toArray(), EXTR_REFS); 
    7476 
    7577    // render 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.