Re: [PHP] Code formatting issue

2003-08-19 Thread Decapode Azur
this way may be what you'd like : $thing = new whatever (); $with = array (doStuff', anotherThing', doThis', doThat', doThis', doThat', anotherThing', doThis', /* etc. etc. */ ); foreach($with as $w) $thing->$w(); -- > Is there a way I can make this type

[PHP] Code formatting issue

2003-08-19 Thread James Johnson
Is there a way I can make this type of code neater? $thing = new whatever (); $thing->doStuff (); $thing->anotherThing (); $thing->doThis (); $thing->doThat (); $thing->doThis (); $thing->doThat (); $thing->anotherThing (); $thing->doThis (); // etc. etc. S