FIX: print_r must return instead of echoing.