3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $flag = 1; $flag = !$flag; print $flag;
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Sk2d1
function name:  (null)
number of ops:  5
compiled vars:  !0 = $flag
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 1
   5     1        BOOL_NOT                                         ~2      !0
         2        ASSIGN                                                   !0, ~2
   7     3        ECHO                                                     !0
         4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0