3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WsseCredentials { public function __construct($credentials = array()) { $fields = array('username', 'digest', 'nonce','created'); foreach($fields as $key){ $this->{$key} = $credentials[$key]; } } public function getUsername(){ return $this->username; } public function getDigest(){ return $this->username; } public function getNonce(){ return $this->username; } public function getCreated(){ return $this->username; } } $foo = new WsseCredentials();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QWtWB
function name:  (null)
number of ops:  4
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   NEW                                              $1      'WsseCredentials'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
          3      > RETURN                                                   1

Class WsseCredentials:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 8
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/QWtWB
function name:  __construct
number of ops:  10
compiled vars:  !0 = $credentials, !1 = $fields, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      <array>
    5     1        ASSIGN                                                   !1, <array>
    6     2      > FE_RESET_R                                       $4      !1, ->8
          3    > > FE_FETCH_R                                               $4, !2, ->8
    7     4    >   FETCH_DIM_R                                      ~6      !0, !2
          5        ASSIGN_OBJ                                               !2
          6        OP_DATA                                                  ~6
    6     7      > JMP                                                      ->3
          8    >   FE_FREE                                                  $4
    9     9      > RETURN                                                   null

End of function __construct

Function getusername:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QWtWB
function name:  getUsername
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   FETCH_OBJ_R                                      ~0      'username'
          1      > RETURN                                                   ~0
   12     2*     > RETURN                                                   null

End of function getusername

Function getdigest:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QWtWB
function name:  getDigest
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   FETCH_OBJ_R                                      ~0      'username'
          1      > RETURN                                                   ~0
   15     2*     > RETURN                                                   null

End of function getdigest

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

End of function getnonce

Function getcreated:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QWtWB
function name:  getCreated
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   FETCH_OBJ_R                                      ~0      'username'
          1      > RETURN                                                   ~0
   21     2*     > RETURN                                                   null

End of function getcreated

End of class WsseCredentials.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.61 ms | 1399 KiB | 13 Q