function example($opt1,$opt2 = 'test')
example($opt2 = 'test2');//if this was python it would output 'test2' but no this is php and it'll output 'test' since its the first argument and you can't redefine argument parameters based on its argument name which sucks specially when you got options u want to initiate without initiating other options in a php function.
__________________ PHP/XHTML Freelancer: Cleanscript.com v3 - Programming starting at just $5 act now!
Although you do loose the ability to provide default values to arguments when doing this.
As far as I am aware there are no plans to introduce this form of argument handling in PHP 5.3 or 6 but if you really want to see it, you should post the idea to the php-internals mailing list to see what they think.