3v4l.org

run code in 300+ PHP versions simultaneously
<?php function goInclude() { function privateFunction() { echo 'i dont want to access this function from other files'; } } privateFunction(); //i dont want to this work
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SFlrU
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL_BY_NAME                                       'privateFunction'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function goinclude:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SFlrU
function name:  goInclude
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_FUNCTION                                         'privatefunction'
   11     1      > RETURN                                                   null

End of function goinclude

Function %00privatefunction%2Fin%2FSFlrU%3A7%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SFlrU
function name:  privateFunction
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     'i+dont+want+to+access+this+function+from+other+files'
   10     1      > RETURN                                                   null

End of function %00privatefunction%2Fin%2FSFlrU%3A7%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.99 ms | 1393 KiB | 13 Q