3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = array( 'query' => array ( 'post_type' => 'product', 'post_status' => 'publish', 'ignore_sticky_posts' => true, 'no_found_rows' => true, 'orderby' => 'date', 'order' => 'DESC', 'posts_per_page' => 4, 'meta_query' => array ( ), 'tax_query' => array ( 0 => array ( 'taxonomy' => 'product_visibility', 'field' => 'term_taxonomy_id', 'terms' => array ( 0 => 7, ), 'operator' => 'NOT IN', ), 1 => array ( 'taxonomy' => 'product_visibility', 'terms' => 'featured', 'field' => 'name', 'operator' => 'IN', 'include_children' => false, ), ), ), 'query_vars' => array ( 'post_type' => 'product', 'post_status' => 'publish', 'ignore_sticky_posts' => true, 'no_found_rows' => true, 'orderby' => 'date', 'order' => 'DESC', 'posts_per_page' => 4, 'meta_query' => array ( ), 'tax_query' => array ( 0 => array ( 'taxonomy' => 'product_visibility', 'field' => 'term_taxonomy_id', 'terms' => array ( 0 => 7, ), 'operator' => 'NOT IN', ), 1 => array ( 'taxonomy' => 'product_visibility', 'terms' => 'featured', 'field' => 'name', 'operator' => 'IN', 'include_children' => false, ), ), 'error' => '', 'm' => '', 'p' => 0, 'post_parent' => '', 'subpost' => '', 'subpost_id' => '', 'attachment' => '', 'attachment_id' => 0, 'name' => '', 'static' => '', 'pagename' => '', 'page_id' => 0, 'second' => '', 'minute' => '', 'hour' => '', 'day' => 0, 'monthnum' => 0, 'year' => 0, 'w' => 0, 'category_name' => '', 'tag' => '', 'cat' => '', 'tag_id' => '', 'author' => '', 'author_name' => '', 'feed' => '', 'tb' => '', 'paged' => 0, 'meta_key' => '', 'meta_value' => '', 'preview' => '', 's' => '', 'sentence' => '', 'title' => '', 'fields' => '', 'menu_order' => '', 'embed' => '', 'category__in' => array ( ), 'category__not_in' => array ( ), 'category__and' => array ( ), 'post__in' => array ( ), 'post__not_in' => array ( ), 'post_name__in' => array ( ), 'tag__in' => array ( ), 'tag__not_in' => array ( ), 'tag__and' => array ( ), 'tag_slug__in' => array ( ), 'tag_slug__and' => array ( ), 'post_parent__in' => array ( ), 'post_parent__not_in' => array ( ), 'author__in' => array ( ), 'author__not_in' => array ( ), 'suppress_filters' => false, 'cache_results' => false, 'update_post_term_cache' => true, 'lazy_load_term_meta' => true, 'update_post_meta_cache' => true, 'nopaging' => false, 'comments_per_page' => '50', 'taxonomy' => 'product_visibility', 'term_id' => 'featured', ), 'tax_query' => array( 'queries' => array ( 0 => array ( 'taxonomy' => 'product_visibility', 'terms' => array ( 0 => 7, ), 'field' => 'term_taxonomy_id', 'operator' => 'NOT IN', 'include_children' => true, ), 1 => array ( 'taxonomy' => 'product_visibility', 'terms' => array ( 0 => 'featured', ), 'field' => 'name', 'operator' => 'IN', 'include_children' => false, ), ), 'relation' => 'AND', 'table_aliases' => array ( 0 => 'wp_term_relationships', ), 'queried_terms' => array ( 'product_visibility' => array ( 'terms' => array ( 0 => 'featured', ), 'field' => 'name', ), ), 'primary_table' => 'wp_posts', 'primary_id_column' => 'ID', ), 'meta_query' => array( 'queries' => array ( ), 'relation' => NULL, 'meta_table' => NULL, 'meta_id_column' => NULL, 'primary_table' => NULL, 'primary_id_column' => NULL, 'table_aliases' => array ( ), 'clauses' => array ( ), 'has_or_relation' => false, ), 'date_query' => false, 'request' => 'SELECT wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (7) ) AND wp_term_relationships.term_taxonomy_id IN (8) ) AND wp_posts.post_type = \'product\' AND ((wp_posts.post_status = \'publish\')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 4', 'posts' => array ( ), 'post_count' => 0, 'current_post' => -1, 'in_the_loop' => false, 'comment_count' => 0, 'current_comment' => -1, 'found_posts' => 0, 'max_num_pages' => 0, 'max_num_comment_pages' => 0, 'is_single' => false, 'is_preview' => false, 'is_page' => false, 'is_archive' => true, 'is_date' => false, 'is_year' => false, 'is_month' => false, 'is_day' => false, 'is_time' => false, 'is_author' => false, 'is_category' => false, 'is_tag' => false, 'is_tax' => true, 'is_search' => false, 'is_feed' => false, 'is_comment_feed' => false, 'is_trackback' => false, 'is_home' => false, 'is_404' => false, 'is_embed' => false, 'is_paged' => false, 'is_admin' => false, 'is_attachment' => false, 'is_singular' => false, 'is_robots' => false, 'is_posts_page' => false, 'is_post_type_archive' => true, 'query_vars_hash' => '28505f3348759547b39188cac4c16f6e', 'query_vars_changed' => false, 'thumbnails_cached' => false, 'stopwords' => NULL, 'compat_fields' => array ( 0 => 'query_vars_hash', 1 => 'query_vars_changed', ), 'compat_methods' => array ( 0 => 'init_query_flags', 1 => 'parse_tax_query', ), ); var_dump(serialize($foo));

preferences:
54.13 ms | 402 KiB | 5 Q