3v4l.org

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

Function isfoo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tKQVH
function name:  isFoo
number of ops:  6
compiled vars:  !0 = $foo_app_cookie_val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   BIND_GLOBAL                                              !0, 'foo_app_cookie_val'
    7     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
    8     5      > RETURN                                                   null

End of function isfoo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.66 ms | 1396 KiB | 14 Q