3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Source: https://bugs.php.net/bug.php?id=62437 $_SERVER['REAL_URI'] = 'ertretre'; $GLOBALS['dzzz'] = 'sdfdsfds'; function output($buffer) { return $buffer . $GLOBALS['dzzz']; } ob_start('output'); echo "foo ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oaVUq
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $0      '_SERVER'
          1        ASSIGN_DIM                                               $0, 'REAL_URI'
          2        OP_DATA                                                  'ertretre'
    4     3        FETCH_W                      global              $2      'GLOBALS'
          4        ASSIGN_DIM                                               $2, 'dzzz'
          5        OP_DATA                                                  'sdfdsfds'
   11     6        INIT_FCALL                                               'ob_start'
          7        SEND_VAL                                                 'output'
          8        DO_ICALL                                                 
   13     9        ECHO                                                     'foo+'
         10      > RETURN                                                   1

Function output:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oaVUq
function name:  output
number of ops:  6
compiled vars:  !0 = $buffer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    7     1        FETCH_R                      global              ~1      'GLOBALS'
          2        FETCH_DIM_R                                      ~2      ~1, 'dzzz'
          3        CONCAT                                           ~3      !0, ~2
          4      > RETURN                                                   ~3
    8     5*     > RETURN                                                   null

End of function output

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.29 ms | 1386 KiB | 15 Q