WordPress at a glance
function is not described

wp_cache_sanitize_value() WPSCache 1.0

No Hooks.

Return

null. Nothing.

Usage

wp_cache_sanitize_value( $text, $array );
$text (required) (passed by reference — &)
-
$array (required) (passed by reference — &)
-

Code of wp_cache_sanitize_value() WPSCache 1.7.3

<?php
function wp_cache_sanitize_value($text, & $array) {
	$text = esc_html(strip_tags($text));
	$array = preg_split("/[\s,]+/", chop($text));
	$text = var_export($array, true);
	$text = preg_replace('/[\s]+/', ' ', $text);
	return $text;
}