3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.52 ms | 1384 KiB | 13 Q