3v4l.org

run code in 300+ PHP versions simultaneously
<?php $this->hasNotPosClrt = 'B'; $cool = $this->hasNotPosClrt == 'S' || $this->hasNotPosClrt == 'B' ? false : true; echo $cool;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/nR8ZI
function name:  (null)
number of ops:  18
compiled vars:  !0 = $cool
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $1      
          1        ASSIGN_OBJ                                               $1, 'hasNotPosClrt'
          2        OP_DATA                                                  'B'
    3     3        FETCH_THIS                                       $3      
          4        FETCH_OBJ_R                                      ~4      $3, 'hasNotPosClrt'
          5        IS_EQUAL                                         ~5      ~4, 'S'
          6      > JMPNZ_EX                                         ~5      ~5, ->11
          7    >   FETCH_THIS                                       $6      
          8        FETCH_OBJ_R                                      ~7      $6, 'hasNotPosClrt'
          9        IS_EQUAL                                         ~8      ~7, 'B'
         10        BOOL                                             ~5      ~8
         11    > > JMPZ                                                     ~5, ->14
         12    >   QM_ASSIGN                                        ~9      <false>
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~9      <true>
         15    >   ASSIGN                                                   !0, ~9
    4    16        ECHO                                                     !0
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.78 ms | 1394 KiB | 13 Q