I've had index.php and several files which cascading include,something like this.
index.php -> controller.php -> model.php -> view.php
In model.php I have a function using ini_set('memory_limit', '-1');
When will the ini_set() change of the setting expire?
After executed index.php? Or view.php? Or the function in model.php?