public function __construct() { // error management set_error_handler('developpementErrorHandler'); ini_set('html_errors', 'on'); ini_set('display_errors', 'on'); error_reporting(E_ALL | E_STRICT); $this->_memory = array_fill(0, 10, 0); $this->_time = array_fill(0, 10, 0); // Usually set in the parent constructor, but here I need it to evaluate init() $useSSL = $this->ssl; if (!self::$_footer) { return; } $this->_memory[-3] = memory_get_usage(); $this->_time[-3] = microtime(true); $this->init(); $this->_memory[-2] = memory_get_usage(); $this->_time[-2] = microtime(true); parent::__construct(); $this->_memory[-1] = memory_get_usage(); $this->_time[-1] = microtime(true); }
public function __construct() { parent::__construct(); }