3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = unserialize(''); if (!in_array('foo', $a)) { print 'trueish'; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
Jump found. Position 1 = -2
Branch analysis from position: 11
filename:       /in/jraYt
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                                                     'trueish'
        11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0