+
If you want to suppress the output and return the array information into a variable, set the second optional parameter to print_r to **true**
If you want to suppress the output and return the array information into a variable, set the second optional parameter to print_r to true- Like so: $info = print_r($_GET, TRUE);
- Theoutput could be emailed in an error report, for example
- http://www.electrictoolbox.com/return-information-from-php-print-r/
- http://stackoverflow.com/questions/5039431/difference-between-var-dump-var-export-print-r
print_r,PHP,var_export
✯
✯✯
✯✯
✯✯
✯✯
✯