3v4l.org

run code in 300+ PHP versions simultaneously
isFoo(); <?php $foo_app_cookie_val = "foo"; function isFoo() { global $foo_app_cookie_val; echo "in isFoo: '$foo_app_cookie_val'<br/>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ej4sV
function name:  (null)
number of ops:  3
compiled vars:  !0 = $foo_app_cookie_val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     'isFoo%28%29%3B%0A'
    4     1        ASSIGN                                                   !0, 'foo'
    9     2      > RETURN                                                   1

Function isfoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ej4sV
function name:  isFoo
number of ops:  6
compiled vars:  !0 = $foo_app_cookie_val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   BIND_GLOBAL                                              !0, 'foo_app_cookie_val'
    8     1        ROPE_INIT                                     3  ~2      'in+isFoo%3A+%27'
          2        ROPE_ADD                                      1  ~2      ~2, !0
          3        ROPE_END                                      2  ~1      ~2, '%27%3Cbr%2F%3E'
          4        ECHO                                                     ~1
    9     5      > RETURN                                                   null

End of function isfoo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.41 ms | 1393 KiB | 13 Q