sprint_r PHP function

 
<?php
function sprint_r($v) {
	ob_start();
	print_r($v);
	return ob_get_clean();
}
?>
 

One Response to “sprint_r PHP function”

  1. de Pijd on 14 Nov 2009 at 12:20 pm #

    Or simply use print_r($, true) ;)

Trackback URI | Comments RSS

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a