public function _varEncoder() { // find the next free short name do { $shortId = Packer::encode52($this->count++); } while (preg_match('/[^\\w$.]' . $shortId . '[^\\w$:]/', $this->script)); return $shortId; }