3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new StdClass; if ( $o ) vardump( $o ); if ( !! $o ) vardump( $o );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 62) 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      'StdClass'
          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 8.0.0


preferences:
178.84 ms | 1393 KiB | 13 Q