3v4l.org

run code in 300+ PHP versions simultaneously
<?php function A () { return $REQUEST_URI; } print 'Direct: ' . $REQUEST_URI . "\n"; print 'Indirect: ' . A() . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QjbM8
function name:  (null)
number of ops:  9
compiled vars:  !0 = $REQUEST_URI
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   CONCAT                                           ~1      'Direct%3A+', !0
          1        CONCAT                                           ~2      ~1, '%0A'
          2        ECHO                                                     ~2
    6     3        INIT_FCALL                                               'a'
          4        DO_FCALL                                      0  $3      
          5        CONCAT                                           ~4      'Indirect%3A+', $3
          6        CONCAT                                           ~5      ~4, '%0A'
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

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

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.62 ms | 1396 KiB | 14 Q