3v4l.org

run code in 300+ PHP versions simultaneously
<?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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/59bTN
function name:  (null)
number of ops:  12
compiled vars:  !0 = $js
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
    3     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
    2     3        ASSIGN                                                   !0, $1
   12     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'sprintf'
          6        SEND_VAL                                                 '%25s'
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.11 ms | 1398 KiB | 19 Q