3v4l.org

run code in 300+ PHP versions simultaneously
<?php $debug = True; function debugM($text) { global $debug; if ($debug) echo "DEBUG: &nbsp" . $text .= "<br/>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H4Ynl
function name:  (null)
number of ops:  2
compiled vars:  !0 = $debug
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <true>
    9     1      > RETURN                                                   1

Function debugm:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/H4Ynl
function name:  debugM
number of ops:  7
compiled vars:  !0 = $text, !1 = $debug
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        BIND_GLOBAL                                              !1, 'debug'
    6     2      > JMPZ                                                     !1, ->6
    7     3    >   ASSIGN_OP                                     8  ~2      !0, '%3Cbr%2F%3E'
          4        CONCAT                                           ~3      'DEBUG%3A+%26nbsp', ~2
          5        ECHO                                                     ~3
    8     6    > > RETURN                                                   null

End of function debugm

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.82 ms | 1384 KiB | 13 Q