3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FunctionHandler { public function __construct(); public function getHandledfunctions(); public function handleFunction($functionName, FunctionHelper $helper, array $arguments); } class NoEscape implements FunctionHandler { public function __construct() { } public function getHandledFunctions() { return array('noEscape'); } public function handleFunction($function, FunctionHelper $helper, array $arguments) { echo $args[0]; return ''; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   DECLARE_CLASS                                            'noescape'
   27     1      > RETURN                                                   1

Class FunctionHandler:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  __construct
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   null

End of function __construct

Function gethandledfunctions:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  getHandledfunctions
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   null

End of function gethandledfunctions

Function handlefunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  handleFunction
number of ops:  4
compiled vars:  !0 = $functionName, !1 = $helper, !2 = $arguments
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3      > RETURN                                                   null

End of function handlefunction

End of class FunctionHandler.

Class NoEscape:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  __construct
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E > > RETURN                                                   null

End of function __construct

Function gethandledfunctions:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  getHandledFunctions
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E > > RETURN                                                   <array>
   20     1*     > RETURN                                                   null

End of function gethandledfunctions

Function handlefunction:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WG1Kv
function name:  handleFunction
number of ops:  7
compiled vars:  !0 = $function, !1 = $helper, !2 = $arguments, !3 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   24     3        FETCH_DIM_R                                      ~4      !3, 0
          4        ECHO                                                     ~4
   25     5      > RETURN                                                   ''
   26     6*     > RETURN                                                   null

End of function handlefunction

End of class NoEscape.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.04 ms | 1399 KiB | 13 Q