3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = unserialize(''); if (!in_array('foo', $a)) { print $a; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/Tu1ZR
function name:  (null)
number of ops:  12
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
    4     4        INIT_FCALL                                               'in_array'
          5        SEND_VAL                                                 'foo'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        BOOL_NOT                                         ~4      $3
          9      > JMPZ                                                     ~4, ->11
    5    10    >   ECHO                                                     !0
    6    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.59 ms | 1385 KiB | 17 Q