3v4l.org

run code in 300+ PHP versions simultaneously
<?php class JController { public function __set($name, $value) { //JView::assign($name, $value); } protected function render($name, $options = array()) { echo __FILE__ ."\n"; echo __CLASS__ ."\n"; echo __FUNCTION__ ."\n"; echo __METHOD__; //return JView::render($name, $options); } } class Pippo extends JController { public function index() { $this->name = 'Jacopo'; $this->render('pippo/index'); } } $x = new Pippo(); $x->index();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYrDK
function name:  (null)
number of ops:  6
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   NEW                                              $1      'Pippo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   34     3        INIT_METHOD_CALL                                         !0, 'index'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

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

End of function __set

Function render:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYrDK
function name:  render
number of ops:  7
compiled vars:  !0 = $name, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <array>
   11     2        ECHO                                                     '%2Fin%2FXYrDK%0A'
   13     3        ECHO                                                     'JController%0A'
   15     4        ECHO                                                     'render%0A'
   16     5        ECHO                                                     'JController%3A%3Arender'
   19     6      > RETURN                                                   null

End of function render

End of class JController.

Class Pippo:
Function index:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYrDK
function name:  index
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   ASSIGN_OBJ                                               'name'
          1        OP_DATA                                                  'Jacopo'
   27     2        INIT_METHOD_CALL                                         'render'
          3        SEND_VAL_EX                                              'pippo%2Findex'
          4        DO_FCALL                                      0          
   28     5      > RETURN                                                   null

End of function index

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

End of function __set

Function render:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYrDK
function name:  render
number of ops:  7
compiled vars:  !0 = $name, !1 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <array>
   11     2        ECHO                                                     '%2Fin%2FXYrDK%0A'
   13     3        ECHO                                                     'JController%0A'
   15     4        ECHO                                                     'render%0A'
   16     5        ECHO                                                     'JController%3A%3Arender'
   19     6      > RETURN                                                   null

End of function render

End of class Pippo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.75 ms | 1399 KiB | 13 Q