3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mylife=21; function myLife () { global $mylife; } myLife (); echo "I am about to turn $mylife tomorrow"; ?> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/is8JF
function name:  (null)
number of ops:  9
compiled vars:  !0 = $mylife
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 21
    6     1        INIT_FCALL                                               'mylife'
          2        DO_FCALL                                      0          
    7     3        ROPE_INIT                                     3  ~4      'I+am+about+to+turn+'
          4        ROPE_ADD                                      1  ~4      ~4, !0
          5        ROPE_END                                      2  ~3      ~4, '+tomorrow'
          6        ECHO                                                     ~3
    9     7        ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   11     8      > RETURN                                                   1

Function mylife:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/is8JF
function name:  myLife
number of ops:  2
compiled vars:  !0 = $mylife
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_GLOBAL                                              !0, 'mylife'
    5     1      > RETURN                                                   null

End of function mylife

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.28 ms | 1396 KiB | 14 Q