3v4l.org

run code in 300+ PHP versions simultaneously
<?php class c{ } var_dump(isset(c::$foo) ? 'set' : 'not'); var_dump(c::$foo);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6pchu
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'var_dump'
          1        ISSET_ISEMPTY_STATIC_PROP                                'foo'
          2      > JMPZ                                                     ~0, ->5
          3    >   QM_ASSIGN                                        ~1      'set'
          4      > JMP                                                      ->6
          5    >   QM_ASSIGN                                        ~1      'not'
          6    >   SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'var_dump'
          9        FETCH_STATIC_PROP_R          unknown             ~3      'foo'
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Class c: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.46 ms | 1394 KiB | 15 Q