3v4l.org

run code in 300+ PHP versions simultaneously
if<?php class Help { public $test = null; } $test = new Help(); if ( isset($test->test)) { echo "set"; } else { echo "not"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9aOEF
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'if'
    6     1        NEW                                              $1      'Help'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    7     4        ISSET_ISEMPTY_PROP_OBJ                                   !0, 'test'
          5      > JMPZ                                                     ~4, ->8
    8     6    >   ECHO                                                     'set'
          7      > JMP                                                      ->9
    9     8    >   ECHO                                                     'not'
          9    > > RETURN                                                   1

Class Help: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.94 ms | 1397 KiB | 13 Q