--TEST-- SolrParams::serialize() - serialize params --SKIPIF-- --FILE-- setParam('q', 'lucene') ->setParam('start', 0) ->setParam('rows', 10) ->addParam('fq', 'popularity:[10 TO *]') ->addParam('fq', 'section:0') ; echo serialize($params); ?> --EXPECTF-- O:20:"SolrModifiableParams":1:{s:3:"xml";s:727:" lucene 0 10 popularity:[10 TO *] section:0 ";}