uawdijnntqw1x1x1
IP : 3.15.225.188
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
.
/
opt
/
alt
/
tests
/
alt-php83-pecl-solr_2.7.0-1.el8
/
tests
/
196.solrparams_serialize_php81.phpt
/
/
--TEST-- SolrParams::serialize() - serialize params --SKIPIF-- <?php if (PHP_VERSION_ID < 80100) die("skip PHP 8.1+ only"); ?> --FILE-- <?php $params = new SolrModifiableParams(); $params ->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:"<?xml version="1.0" encoding="UTF-8"?> <solr_params> <params> <param name="q" type="1" allow_multiple="0" count="1" delimiter="38" arg_separator="0"> <param_value>lucene</param_value> </param> <param name="start" type="1" allow_multiple="0" count="1" delimiter="38" arg_separator="0"> <param_value>0</param_value> </param> <param name="rows" type="1" allow_multiple="0" count="1" delimiter="38" arg_separator="0"> <param_value>10</param_value> </param> <param name="fq" type="1" allow_multiple="1" count="2" delimiter="38" arg_separator="0"> <param_value>popularity:[10 TO *]</param_value> <param_value>section:0</param_value> </param> </params> </solr_params> ";}
/home/.././opt/alt/tests/alt-php83-pecl-solr_2.7.0-1.el8/tests/196.solrparams_serialize_php81.phpt