public function search($needle, $strict = false) { return array_search($needle, (array) $this, $strict); }