3v4l.org

run code in 300+ PHP versions simultaneously
<?php $process = array("as12"=>"deleted","as13"=>1,"as14"=>1); if(!in_array(0, $process)) echo "success"; else echo "not success"; //It's outputting "not success"; var_dump(in_array(0, $process)); //Output : null var_dump(in_array(0, $this->tProcessActions) === true); ///Output : true
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/noI5S
function name:  (null)
number of ops:  28
compiled vars:  !0 = $process
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'in_array'
          2        SEND_VAL                                                 0
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        BOOL_NOT                                         ~3      $2
          6      > JMPZ                                                     ~3, ->9
    5     7    >   ECHO                                                     'success'
          8      > JMP                                                      ->10
    7     9    >   ECHO                                                     'not+success'
   11    10    >   INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'in_array'
         12        SEND_VAL                                                 0
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                                 
   14    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL                                               'in_array'
         19        SEND_VAL                                                 0
         20        FETCH_THIS                                       $6      
         21        FETCH_OBJ_R                                      ~7      $6, 'tProcessActions'
         22        SEND_VAL                                                 ~7
         23        DO_ICALL                                         $8      
         24        TYPE_CHECK                                    8  ~9      $8
         25        SEND_VAL                                                 ~9
         26        DO_ICALL                                                 
   15    27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.93 ms | 1387 KiB | 17 Q