3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tagString = "10,121,20,36,23,66,24,21,105,76,82,17,22,122,43,47,102,5,6,106,8,75,54,38,57,86,56,101,123,95,25,62,16,39,40,69,37,9,42,7,15,41,87,73,85,104"; $args = array( 'post_type' => 'post', 'posts_per_page' => 12, 'paged' => 'foo', 'tag__in' => array (46, 5, 101, 22, 122, 7, 102, 15, 104, 47, 105, 66, 43, 123), 'tag__not_in' => array ($tagString) ); print_r($args);
Output for 4.3.0 - 7.1.0
Array ( [post_type] => post [posts_per_page] => 12 [paged] => foo [tag__in] => Array ( [0] => 46 [1] => 5 [2] => 101 [3] => 22 [4] => 122 [5] => 7 [6] => 102 [7] => 15 [8] => 104 [9] => 47 [10] => 105 [11] => 66 [12] => 43 [13] => 123 ) [tag__not_in] => Array ( [0] => 10,121,20,36,23,66,24,21,105,76,82,17,22,122,43,47,102,5,6,106,8,75,54,38,57,86,56,101,123,95,25,62,16,39,40,69,37,9,42,7,15,41,87,73,85,104 ) )