code reformat

Hello,
There is a function, that's called with many parameters e.g. multidimensional arrays.
Is any opportunity to reformat code like this

     doSomething($a1,$a2, array('q1'=>'w2', array('a1'=>21,'af', 32=>'ds')))


to some appropriate format:
doSomething(
     $a1,
     $a2,
     array(
     'q1'=>'w2',
          array(
               'a1'=>21,
               'af',
                32=>'ds'
          )
     )
)

Please sign in to leave a comment.