Changed private variables to protected, since the class is not final extending classes might want to access these. Adding PHPDoc to global vars. Adding @throws in function PHPDoc. Unit tests passes after changes.
Changed private variables to protected, since the class is not final extending classes might want to access these. Adding PHPDoc to global vars. Adding @throws in function PHPDoc. Unit tests passes after changes.

mbaynton/getopt-php,getopt-php/getopt-php,ulrichsg/getopt-php,xinc-develop/xinc-getopt