I want push this php code to javascript variable like a string, is it posible?
$APPLICATION->IncludeComponent("wt:static.content", "bonus10", array(
"DEFAULT_LANG" => array(
0 => "",
),
"LANGUAGE_ID" => "",
"USE_DEFAULT" => "Y",
"INCLUDE_LANGUAGE" => "",
"CACHE_TYPE" => "Y",
"CACHE_TIME" => "3600"
),
false,
array(
"ACTIVE_COMPONENT" => "Y",
"HIDE_ICONS" => "N"
)
);
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>