Jared Farrish wrote: > Is this legal? > Note where the typecasting occurs: In the function parameter > list, before the variable. > > <code> > function doSomething( (int) $int1, (int) $int2 ) { > //blah blah > } > </code> > > This would take the place of: > > <code> > function doSomething($int1, $int2) { > $int1 = (int) $int1; > $int2 = (int) $int2; > } > </code> > > Is this possible? have you taken 5 seconds to run the code and find out? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php