3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test1 = 0; $test2 = 0; $test = 1 === $test1 || 1 === $test2; var_dump($test);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/OSkMg
function name:  (null)
number of ops:  11
compiled vars:  !0 = $test1, !1 = $test2, !2 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 0
    4     2        IS_IDENTICAL                                     ~5      !0, 1
          3      > JMPNZ_EX                                         ~5      ~5, ->6
          4    >   IS_IDENTICAL                                     ~6      !1, 1
          5        BOOL                                             ~5      ~6
          6    >   ASSIGN                                                   !2, ~5
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.45 ms | 1086 KiB | 14 Q