3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Player extends User{ private $pdo = null; private $authUser = null; public function __construct() { $this->pdo = DB::connection()->getPdo(); $this->authUser = Auth::user(); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nuePb
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CLASS                                            'player', 'user'
   11     1      > RETURN                                                   1

Class Player:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nuePb
function name:  __construct
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_STATIC_METHOD_CALL                                  'DB', 'connection'
          1        DO_FCALL                                      0  $1      
          2        INIT_METHOD_CALL                                         $1, 'getPdo'
          3        DO_FCALL                                      0  $2      
          4        ASSIGN_OBJ                                               'pdo'
          5        OP_DATA                                                  $2
    9     6        INIT_STATIC_METHOD_CALL                                  'Auth', 'user'
          7        DO_FCALL                                      0  $4      
          8        ASSIGN_OBJ                                               'authUser'
          9        OP_DATA                                                  $4
   10    10      > RETURN                                                   null

End of function __construct

End of class Player.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.97 ms | 1393 KiB | 13 Q