3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Authorization { private function getPassword() { //Попросить Cookie отдать пароль из куки } private function getSaltedHash() { //Сгенерировать соленый хеш по паролю из $this->getPassword } private function getIdFromSaltedHash() { //Попросить TDG найти соленый хеш в таблице с солеными хешами //Если такой соленый хеш существует, то пусть TDG отдаст id } public function authorize() { //Функция для внешнего кода //Вызывает 3 функции сверху } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rcKTp
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E > > RETURN                                                   1

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

End of function getpassword

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

End of function getsaltedhash

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

End of function getidfromsaltedhash

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

End of function authorize

End of class Authorization.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.53 ms | 994 KiB | 13 Q