function test_explode_assoc() { $result = GeoMashup::explode_assoc('=', '&', 'a=1&10=&b=test'); $this->assertEquals(array('a' => '1', 10 => '', 'b' => 'test'), $result); }