Exemple #1
0
 public function testGetoptDumpArray()
 {
     $opts = new Getopt('abp:', array('-a', '-p', 'p_arg'));
     $this->assertEquals(implode(',', $opts->toArray()), 'a,p,p_arg');
 }