3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; ?> <?= !$i ?> <?php $i = 1; ?> <?= !$i ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/28n3C
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 0
    5     1        ECHO                                                     '%0A'
    6     2        BOOL_NOT                                         ~2      !0
          3        ECHO                                                     ~2
    7     4        ECHO                                                     '%0A'
    8     5        ASSIGN                                                   !0, 1
    9     6        ECHO                                                     '%0A'
   10     7        BOOL_NOT                                         ~4      !0
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.76 ms | 1392 KiB | 13 Q