3v4l.org

run code in 300+ PHP versions simultaneously
<?php $js = json_encode(array( '_type' => 'solr', 'query' => $this->get_query(), 'offset' => $this->offset, 'limit' => $this->limit, 'sort' => $this->sort, 'coreId' => $this->core_id, 'clusterName' => $this->cluster_name, 'returnFields' => $this->return_fields, )); print_r(sprintf('%s'), $js);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GqI4
function name:  (null)
number of ops:  35
compiled vars:  !0 = $js
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
    3     1        INIT_ARRAY                                       ~1      'solr', '_type'
    4     2        FETCH_THIS                                       $2      
          3        INIT_METHOD_CALL                                         $2, 'get_query'
          4        DO_FCALL                                      0  $3      
          5        ADD_ARRAY_ELEMENT                                ~1      $3, 'query'
    5     6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_R                                      ~5      $4, 'offset'
          8        ADD_ARRAY_ELEMENT                                ~1      ~5, 'offset'
    6     9        FETCH_THIS                                       $6      
         10        FETCH_OBJ_R                                      ~7      $6, 'limit'
         11        ADD_ARRAY_ELEMENT                                ~1      ~7, 'limit'
    7    12        FETCH_THIS                                       $8      
         13        FETCH_OBJ_R                                      ~9      $8, 'sort'
         14        ADD_ARRAY_ELEMENT                                ~1      ~9, 'sort'
    8    15        FETCH_THIS                                       $10     
         16        FETCH_OBJ_R                                      ~11     $10, 'core_id'
         17        ADD_ARRAY_ELEMENT                                ~1      ~11, 'coreId'
    9    18        FETCH_THIS                                       $12     
         19        FETCH_OBJ_R                                      ~13     $12, 'cluster_name'
         20        ADD_ARRAY_ELEMENT                                ~1      ~13, 'clusterName'
   10    21        FETCH_THIS                                       $14     
         22        FETCH_OBJ_R                                      ~15     $14, 'return_fields'
         23        ADD_ARRAY_ELEMENT                                ~1      ~15, 'returnFields'
         24        SEND_VAL                                                 ~1
         25        DO_ICALL                                         $16     
    2    26        ASSIGN                                                   !0, $16
   12    27        INIT_FCALL                                               'print_r'
         28        INIT_FCALL                                               'sprintf'
         29        SEND_VAL                                                 '%25s'
         30        DO_ICALL                                         $18     
         31        SEND_VAR                                                 $18
         32        SEND_VAR                                                 !0
         33        DO_ICALL                                                 
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.55 ms | 1396 KiB | 19 Q