3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tell_friend_href = get_custom_friendly_url("tell_friend.php") . "?item_id=" . urlencode($article_id) . "&type=articles"; $t->set_var("tell_friend_href", htmlspecialchars($tell_friend_href)); $t->set_var("articles_print_href", get_custom_friendly_url("article_print.php")); $t->set_var("article_id", htmlspecialchars($article_id)); $t->set_var("item_id", htmlspecialchars($article_id)); $rp = get_custom_friendly_url("article.php") . "?category_id=" . urlencode($category_id) . "&article_id=" . urlencode($article_id); $reviews_href = get_custom_friendly_url("articles_reviews.php") . "?category_id=" . urlencode($category_id) . "&article_id=" . urlencode($article_id); $t->set_var("rp_url", urlencode($rp)); $t->set_var("rp", htmlspecialchars($rp)); $t->set_var("reviews_href", htmlspecialchars($reviews_href)); console::log($details_fields); $details_fields = ",," . $details_fields . ",,"; $article_fields = array( "author_name", "author_email", "author_url", "link_url", "download_url", "short_description", "full_description", "keywords", "notes" ); if (!VA_Articles::check_exists($article_id)) { $t->set_var("article_item", ""); $t->set_var("NO_ARTICLE_MSG", NO_ARTICLE_MSG); $t->parse("no_article_item", false); $block_parsed = true; return; }

preferences:
43.05 ms | 402 KiB | 5 Q