3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Registration { private function generatePassword(): string { //Сгенерировать пароль } private function generateSaltedHash(): string { //Получить пароль от $this->generatePassword //Сгенерировать соленый хеш для пароля } private function saveToDB(): void { //Попросить TDG сохранить соленый хеш } private function saveToCookie(): void { //Попросить Cookie создать куки с паролем } private function register() { //Функция для внешнего кода //Вызвать 4 верхние функции } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hi99gh
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E > > RETURN                                                   1

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

End of function generatepassword

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

End of function generatesaltedhash

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

End of function savetodb

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

End of function savetocookie

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

End of function register

End of class Registration.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.64 ms | 996 KiB | 13 Q