equal
deleted
inserted
replaced
598 * @return string |
598 * @return string |
599 */ |
599 */ |
600 |
600 |
601 static function var_export_string($val) |
601 static function var_export_string($val) |
602 { |
602 { |
|
603 /* |
603 ob_start(); |
604 ob_start(); |
604 var_export($val); |
605 var_export($val); |
605 $contents = ob_get_contents(); |
606 $contents = ob_get_contents(); |
606 ob_end_clean(); |
607 ob_end_clean(); |
607 return $contents; |
608 return $contents; |
|
609 */ |
|
610 // Which PHP version was the second parameter added in?? o_O |
|
611 return var_export($val, true); |
608 } |
612 } |
609 |
613 |
610 /** |
614 /** |
611 * Registers a filter, a function that strings can be passed through to change the string somehow (e.g. htmlspecialchars) |
615 * Registers a filter, a function that strings can be passed through to change the string somehow (e.g. htmlspecialchars) |
612 * @param string Filter name. Lowercase alphanumeric (htmlsafe) |
616 * @param string Filter name. Lowercase alphanumeric (htmlsafe) |