3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = NULL; $var = true; $var = false; if($var!==NULL) echo 'oh yeah';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/2Qc29
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        ASSIGN                                                   !0, <true>
    4     2        ASSIGN                                                   !0, <false>
    6     3        TYPE_CHECK                                  1020          !0
          4      > JMPZ                                                     ~4, ->6
          5    >   ECHO                                                     'oh+yeah'
          6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1392 KiB | 13 Q