3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a; $b==1; if($c); if ($d==1); (int) $e; (boolean) $f;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 3
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 5
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
Branch analysis from position: 3
filename:       /in/rokNG
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e, !5 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   IS_EQUAL                                         ~6      !1, 1
          1        FREE                                                     ~6
    4     2      > JMPZ                                                     !2, ->3
    5     3    >   IS_EQUAL                                                 !3, 1
          4      > JMPZ                                                     ~7, ->5
    6     5    >   CAST                                          4  ~8      !4
          6        FREE                                                     ~8
    7     7        BOOL                                             ~9      !5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.33 ms | 937 KiB | 14 Q