Tag Archive for 'getopt'

New getopt for php: getopts

I don’t like php’s getopt function, because it’s too crippled.
I’ve started a write a replacement function.
It has more options, is easier to handle and returns all non parameter arguments.

Fell free to use or improve it:
Code / Docs: https://github.com/alexkazik/getopts

Update 2011-04-19: Added License and a small improvement.