3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "Hello, world!"; if( $var = "") { echo __LINE__ . " " . $var; } echo "Where'd my variable go????\n", $var;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/q5vCH
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, ->5
    5     3    >   CONCAT                                           ~3      '5+', !0
          4        ECHO                                                     ~3
    8     5    >   ECHO                                                     'Where%27d+my+variable+go%3F%3F%3F%3F%0A'
          6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.33 ms | 1392 KiB | 13 Q