[prev] [index] [next]

Exercise: args

Write a PHP script to display its command line args.

Use the following format:

$ php args aa b "c d" e
arg[0] 'args'
arg[1] 'aa'
arg[2] 'b'
arg[3] 'c d'
arg[4] 'e'