Example #1
0
 public function testGetoptToString()
 {
     $opts = new Getopt('abp:', array('-a', '-p', 'p_arg'));
     $this->assertEquals($opts->__toString(), 'a=true p=p_arg');
 }