I have an array in my php code, but I don\'t know how to get the value of it.
my array :
$year = array( \'data\' => to_html(strtr(to_lang(\'main
It depends on what to_html function returns, If it returns a string (for displaying in html), then you can not get it (You can but you need to parse the string again).
to_html
Since you have the $timestamp, why not just do with:
$timestamp
$stringyear = date('Y', $timestamp);