You are here

function p in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tests/test_inc.php \p()

File

phamlp/tests/test_inc.php, line 28

Code

function p() {
  $args = func_get_args();
  $n = sizeof($args);
  for ($i = 0; $i < $n; $i++) {
    $out = print_r($args[$i], true);
    $s1 = array(
      " ",
      "\n",
    );
    $s2 = array(
      "&nbsp;",
      "<br>",
    );
    echo str_replace($s1, $s2, $out);
    echo "<br />\n";
  }
}