3v4l.org

run code in 300+ PHP versions simultaneously
<?php $isRunning = null; if (! $isRunning) { echo "\nnull"; } $isRunning = false; if (! $isRunning) { echo "\nfalse"; } $isRunning = true; if (! $isRunning) { echo "\ntrue"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 8
Branch analysis from position: 4
filename:       /in/WsElm
function name:  (null)
number of ops:  13
compiled vars:  !0 = $isRunning
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        BOOL_NOT                                         ~2      !0
          2      > JMPZ                                                     ~2, ->4
    4     3    >   ECHO                                                     '%0Anull'
    7     4    >   ASSIGN                                                   !0, <false>
    8     5        BOOL_NOT                                         ~4      !0
          6      > JMPZ                                                     ~4, ->8
    9     7    >   ECHO                                                     '%0Afalse'
   12     8    >   ASSIGN                                                   !0, <true>
   13     9        BOOL_NOT                                         ~6      !0
         10      > JMPZ                                                     ~6, ->12
   14    11    >   ECHO                                                     '%0Atrue'
   15    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.9 ms | 1393 KiB | 13 Q