3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $js = json_encode(array( '_type' => 'solr', 'query' => 'stuff', 'offset' => 0, 'limit' => 10, 'sort' => 'time', 'coreId' => 't3_solr_top', 'clusterName' => 'top', 'returnFields' => 'blogId,notecount,Id', )); print_r(sprintf('%s'), $js);
based on 8GqI4
Output for 5.6.0 - 7.3.0alpha1
Warning: sprintf(): Too few arguments in /in/59bTN on line 12