3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($var) { // echo ($var); // echo("\n"); } $var4 = 1; if ($var4 === 2) { // echo('$var4は2でした'); // echo("\n"); } else { // echo('$var4は2ではありませんでした'); // echo("\n"); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 1
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
Branch analysis from position: 1
filename:       /in/GEEqm
function name:  (null)
number of ops:  6
compiled vars:  !0 = $var, !1 = $var4
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMPZ                                                     !0, ->1
    8     1    >   ASSIGN                                                   !1, 1
    9     2        IS_IDENTICAL                                             !1, 2
          3      > JMPZ                                                     ~3, ->5
          4    > > JMP                                                      ->5
   15     5    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.84 ms | 1005 KiB | 13 Q