3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bam () { $bum = null; return $bum; } $blam = bam(); if (!isset($blam)) { print 'blaop'; } else { print 'bloop'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bgDqi
function name:  (null)
number of ops:  10
compiled vars:  !0 = $blam
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'bam'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
   13     3        ISSET_ISEMPTY_CV                                 ~3      !0
          4        BOOL_NOT                                         ~4      ~3
          5      > JMPZ                                                     ~4, ->8
   14     6    >   ECHO                                                     'blaop'
          7      > JMP                                                      ->9
   17     8    >   ECHO                                                     'bloop'
   18     9    > > RETURN                                                   1

Function bam:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bgDqi
function name:  bam
number of ops:  3
compiled vars:  !0 = $bum
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, null
    7     1      > RETURN                                                   !0
    9     2*     > RETURN                                                   null

End of function bam

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.46 ms | 1397 KiB | 14 Q