['filter' => FILTER_VALIDATE_REGEXP, 'options' => ['regexp' => '/^[\w_-]+$/']] ); protected function generate() : void { if (!$this->assertGET('name')) { $this->result = 'null'; return; } $this->result = 0; if ($id = DB::Aowow()->selectCell('SELECT `id` FROM ::icons WHERE `name` = %s', $this->_get['name'])) $this->result = $id; } } ?>