3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $o = new StdClass; if ( $o ) vardump( $o ); if ( !! $o ) vardump( $o );
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
Jump found. Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
Jump found. Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 7
filename:       /in/KT7Mo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $o
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :-6
         1        DO_FCALL                                      0          
         2        ASSIGN                                                   !0, $1
   4     3      > JMPZ                                                     !0, ->7
         4    >   INIT_FCALL_BY_NAME                                       'vardump'
         5        SEND_VAR_EX                                              !0
         6        DO_FCALL                                      0          
   5     7    >   BOOL_NOT                                         ~5      !0
         8        BOOL_NOT                                         ~6      ~5
         9      > JMPZ                                                     ~6, ->13
        10    >   INIT_FCALL_BY_NAME                                       'vardump'
        11        SEND_VAR_EX                                              !0
        12        DO_FCALL                                      0          
        13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0