3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ((0 != 'debug') == (0 !== 'debug')) { echo 'same result'; } else { echo 'not same result ' . abs(0 != 'debug') . ' vs ' . abs(0 !== 'debug'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/796OR
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMPZ                                                     <true>, ->3
    3     1    >   ECHO                                                     'same+result'
    2     2      > JMP                                                      ->13
    6     3    >   INIT_FCALL                                               'abs'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $0      
          6        CONCAT                                           ~1      'not+same+result+', $0
          7        CONCAT                                           ~2      ~1, '+vs+'
          8        INIT_FCALL                                               'abs'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $3      
         11        CONCAT                                           ~4      ~2, $3
         12        ECHO                                                     ~4
    7    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.73 ms | 1009 KiB | 14 Q