Keith Constable wrote: >> Dude, no need for output buffering -- just add "true" as a parameter to >> print_r(): >> >> $doesntecho = print_r($input, true); >> > > To be fair, IIRC, print_r() uses the output buffering routines > internally to capture and return the information. > Probably. the reason is that php was developed as one big ongoing hack. :)