for memory reason, it's better to set $pitable as a class var. The php internal memory manager share this class var transparently over all instances if $this->pitable "write-untouched".