3v4l.org

run code in 300+ PHP versions simultaneously
<?php class call{ public function objectiveCall($month,$year,$state){ return [["field" => "mes", "value" => $month, "oper" => "equals"], ["field" => "anho", "value" => $year, "oper" => "equals"], ["field" => "state", "value" => $state, "oper" => "equals"]]; } } var_dump(json_encode(new call())->objectiveCall(2,3,4));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CF9Fc
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_encode'
          2        NEW                                              $0      'call'
          3        DO_FCALL                                      0          
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                         $2      
          6        INIT_METHOD_CALL                                         $2, 'objectiveCall'
          7        SEND_VAL_EX                                              2
          8        SEND_VAL_EX                                              3
          9        SEND_VAL_EX                                              4
         10        DO_FCALL                                      0  $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Class call:
Function objectivecall:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CF9Fc
function name:  objectiveCall
number of ops:  17
compiled vars:  !0 = $month, !1 = $year, !2 = $state
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    4     3        INIT_ARRAY                                       ~3      'mes', 'field'
          4        ADD_ARRAY_ELEMENT                                ~3      !0, 'value'
          5        ADD_ARRAY_ELEMENT                                ~3      'equals', 'oper'
          6        INIT_ARRAY                                       ~4      ~3
    5     7        INIT_ARRAY                                       ~5      'anho', 'field'
          8        ADD_ARRAY_ELEMENT                                ~5      !1, 'value'
          9        ADD_ARRAY_ELEMENT                                ~5      'equals', 'oper'
         10        ADD_ARRAY_ELEMENT                                ~4      ~5
    6    11        INIT_ARRAY                                       ~6      'state', 'field'
         12        ADD_ARRAY_ELEMENT                                ~6      !2, 'value'
         13        ADD_ARRAY_ELEMENT                                ~6      'equals', 'oper'
         14        ADD_ARRAY_ELEMENT                                ~4      ~6
         15      > RETURN                                                   ~4
    7    16*     > RETURN                                                   null

End of function objectivecall

End of class call.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.67 ms | 1396 KiB | 17 Q