Adding in exit to the function and var_dumping the results.