3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $this->myAttribute ? $this->myAttribute : "No attribute was set."; echo $this->myAttribute ?: "No attribute was set.";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Op8UT
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $0      
          1        FETCH_OBJ_R                                      ~1      $0, 'myAttribute'
          2      > JMPZ                                                     ~1, ->7
          3    >   FETCH_THIS                                       $2      
          4        FETCH_OBJ_R                                      ~3      $2, 'myAttribute'
          5        QM_ASSIGN                                        ~4      ~3
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~4      'No+attribute+was+set.'
          8    >   ECHO                                                     ~4
    3     9        FETCH_THIS                                       $5      
         10        FETCH_OBJ_R                                      ~6      $5, 'myAttribute'
         11        JMP_SET                                          ~7      ~6, ->13
         12        QM_ASSIGN                                        ~7      'No+attribute+was+set.'
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.75 ms | 1397 KiB | 13 Q