Skip to content
Advertisement

Tag: ob-start

how to start ob_start inside a class?

im doing a little reasearch about minimalizing the html from php. like the problem is how do i call this ob_start(function) ? can we do like ob_start($this->compresssor()) ? ( ok i know it fails ) inside a class? anyone ?? Thanks for looking in. Adam Ramadhan Answer PHP uses an array(instance,function) representation for representing member functions of classes as callable

Advertisement