3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Controller{ public static function pieces(){ $p=explode("/", $_SERVER['REQUEST_URI']);//mag leeg zijn $p=array_filter($p); $pieces=array_values($p); new static($pieces);} final private function __construct($pieces){ $this->_construct(); $this->inlog = new UserLogin; $this->mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE); $this->inlog->sec_session_start();} protected function _construct(){}} ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X5h9m
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E > > RETURN                                                   1

Class Controller:
Function pieces:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X5h9m
function name:  pieces
number of ops:  20
compiled vars:  !0 = $p, !1 = $pieces
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%2F'
          2        FETCH_R                      global              ~2      '_SERVER'
          3        FETCH_DIM_R                                      ~3      ~2, 'REQUEST_URI'
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    6     7        INIT_FCALL                                               'array_filter'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !0, $6
    7    11        INIT_FCALL                                               'array_values'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !1, $8
    8    15        NEW                          static              $10     
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0          
         18        FREE                                                     $10
         19      > RETURN                                                   null

End of function pieces

Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X5h9m
function name:  __construct
number of ops:  23
compiled vars:  !0 = $pieces
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
   11     1        INIT_METHOD_CALL                                         '_construct'
          2        DO_FCALL                                      0          
   12     3        NEW                                              $3      'UserLogin'
          4        DO_FCALL                                      0          
          5        ASSIGN_OBJ                                               'inlog'
          6        OP_DATA                                                  $3
   13     7        NEW                                              $6      'mysqli'
          8        FETCH_CONSTANT                                   ~7      'HOST'
          9        SEND_VAL_EX                                              ~7
         10        FETCH_CONSTANT                                   ~8      'USER'
         11        SEND_VAL_EX                                              ~8
         12        FETCH_CONSTANT                                   ~9      'PASSWORD'
         13        SEND_VAL_EX                                              ~9
         14        FETCH_CONSTANT                                   ~10     'DATABASE'
         15        SEND_VAL_EX                                              ~10
         16        DO_FCALL                                      0          
         17        ASSIGN_OBJ                                               'mysqli'
         18        OP_DATA                                                  $6
   15    19        FETCH_OBJ_R                                      ~12     'inlog'
         20        INIT_METHOD_CALL                                         ~12, 'sec_session_start'
         21        DO_FCALL                                      0          
         22      > RETURN                                                   null

End of function __construct

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

End of function _construct

End of class Controller.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.22 ms | 1400 KiB | 19 Q