public function testToArray() { $arr = $this->_List->toArray(); $this->assertTrue(\is_array($arr)); $this->assertCount(5, $arr); $this->assertEquals('hello', $arr[0]); }
/** * Returns this set as a binary string in big-endian format * @return string */ public function __toString() { return $this->_List->map(function ($v) { return (int) $v; })->reverse()->join(''); }