3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = unserialize(''); print $a; if (!in_array('foo', $a)) { print 'TRUEISH'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/Xi5jA
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'unserialize'
          1        SEND_VAL                                                 ''
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        ECHO                                                     !0
    4     5        INIT_FCALL                                               'in_array'
          6        SEND_VAL                                                 'foo'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        BOOL_NOT                                         ~4      $3
         10      > JMPZ                                                     ~4, ->12
    5    11    >   ECHO                                                     'TRUEISH'
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.14 ms | 1394 KiB | 17 Q