3v4l.org

run code in 300+ PHP versions simultaneously
<?php function forums_fid() { if (!defined('FORUMS_FID')) { $GLOBALS['maktaba_fid'] = '14'; $GLOBALS['ask_question_fid'] = '9'; } define('FORUMS_FID', 1); } forums_fid(); echo $GLOBALS['maktaba_fid']; echo $GLOBALS['ask_question_fid'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j4KXn
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'forums_fid'
          1        DO_FCALL                                      0          
   13     2        FETCH_R                      global              ~1      'GLOBALS'
          3        FETCH_DIM_R                                      ~2      ~1, 'maktaba_fid'
          4        ECHO                                                     ~2
   14     5        FETCH_R                      global              ~3      'GLOBALS'
          6        FETCH_DIM_R                                      ~4      ~3, 'ask_question_fid'
          7        ECHO                                                     ~4
          8      > RETURN                                                   1

Function forums_fid:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/j4KXn
function name:  forums_fid
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   DEFINED                                          ~0      'FORUMS_FID'
          1        BOOL_NOT                                         ~1      ~0
          2      > JMPZ                                                     ~1, ->9
    6     3    >   FETCH_W                      global              $2      'GLOBALS'
          4        ASSIGN_DIM                                               $2, 'maktaba_fid'
          5        OP_DATA                                                  '14'
    7     6        FETCH_W                      global              $4      'GLOBALS'
          7        ASSIGN_DIM                                               $4, 'ask_question_fid'
          8        OP_DATA                                                  '9'
    9     9    >   INIT_FCALL                                               'define'
         10        SEND_VAL                                                 'FORUMS_FID'
         11        SEND_VAL                                                 1
         12        DO_ICALL                                                 
   10    13      > RETURN                                                   null

End of function forums_fid

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.82 ms | 1397 KiB | 16 Q