Monthly Archive for April, 2011

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:

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