public function testUnease() { // Arrange $a = ['foo.bar' => 'ter', 'baz.0' => 'b', 'baz.1' => 'z']; // Act $x = __::unease($a); // Assert $this->assertEquals(2, count($x)); $this->assertEquals(['foo' => ['bar' => 'ter'], 'baz' => ['b', 'z']], $x); }