function expire_print_r in Cache Expiration 7.2
Same name and namespace in other branches
- 6 expire.module \expire_print_r()
- 7 expire.module \expire_print_r()
Simple print_r to html function.
Parameters
$data: Array with output data.
Return value
string print_r contents in nicely formatted html.
File
- ./
expire.module, line 358 - Provides logic for page cache expiration.
Code
function expire_print_r($data) {
return str_replace(' ', ' ', nl2br(htmlentities(print_r($data, TRUE))));
}