3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "hallo word "; $x = 0; if ($x == 0){ $x = 10; echo "x".$x; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/BnTha
function name:  (null)
number of ops:  8
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'hallo+word+'
    3     1        ASSIGN                                                   !0, 0
    4     2        IS_EQUAL                                                 !0, 0
          3      > JMPZ                                                     ~2, ->7
    5     4    >   ASSIGN                                                   !0, 10
    6     5        CONCAT                                           ~4      'x', !0
          6        ECHO                                                     ~4
    9     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.98 ms | 1392 KiB | 13 Q