3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "Hello, world!"; if( $var = "") { echo "Yeah, we never get in here"; } echo "But where'd my variable go????\n", "It is: ", $var;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/bbTSc
function name:  (null)
number of ops:  8
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello%2C+world%21'
    4     1        ASSIGN                                           ~2      !0, ''
          2      > JMPZ                                                     ~2, ->4
    5     3    >   ECHO                                                     'Yeah%2C+we+never+get+in+here'
    8     4    >   ECHO                                                     'But+where%27d+my+variable+go%3F%3F%3F%3F%0A'
          5        ECHO                                                     'It+is%3A+'
          6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.32 ms | 1384 KiB | 13 Q