3v4l.org

run code in 500+ PHP versions simultaneously
<?php abstract class Abunyasha { abstract public function ban (): string; public function poshatatMakabu () : void { var_dump("2ch ypal"); } public function goToMailRu () : void { var_dump("prepare your anus"); } } class AnonOne extends Abunyasha { public function ban (): string { $this->poshatatMakabu(); $this->goToMailRu(); // И ещё много всякого кода, который на 100% одинаков для всех наследников. return "Ban po prichine: " . "ti pidor" . "!"; } } class AnonTwo extends Abunyasha { public function ban (): string { $this->poshatatMakabu(); $this->goToMailRu(); // И ещё много всякого кода, который на 100% одинаков для всех наследников. return "Ban po prichine: " . "ti animeshnik" . "!"; } } class AnonThree extends Abunyasha { public function ban (): string { $this->poshatatMakabu(); $this->goToMailRu(); // И ещё много всякого кода, который на 100% одинаков для всех наследников. return "Ban po prichine: " . "ti postil cp" . "!"; } } $aOne = new AnonOne(); var_dump($aOne->ban()); $aTwo = new AnonTwo(); var_dump($aTwo->ban()); $aThree = new AnonThree(); var_dump($aThree->ban());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  (null)
number of ops:  25
compiled vars:  !0 = $aOne, !1 = $aTwo, !2 = $aThree
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   42     0  E >   NEW                                                  $3      'AnonOne'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $3
   43     3        INIT_FCALL                                                   'var_dump'
          4        INIT_METHOD_CALL                                             !0, 'ban'
          5        DO_FCALL                                          0  $6      
          6        SEND_VAR                                                     $6
          7        DO_ICALL                                                     
   44     8        NEW                                                  $8      'AnonTwo'
          9        DO_FCALL                                          0          
         10        ASSIGN                                                       !1, $8
   45    11        INIT_FCALL                                                   'var_dump'
         12        INIT_METHOD_CALL                                             !1, 'ban'
         13        DO_FCALL                                          0  $11     
         14        SEND_VAR                                                     $11
         15        DO_ICALL                                                     
   46    16        NEW                                                  $13     'AnonThree'
         17        DO_FCALL                                          0          
         18        ASSIGN                                                       !2, $13
   47    19        INIT_FCALL                                                   'var_dump'
         20        INIT_METHOD_CALL                                             !2, 'ban'
         21        DO_FCALL                                          0  $16     
         22        SEND_VAR                                                     $16
         23        DO_ICALL                                                     
         24      > RETURN                                                       1

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

End of function ban

Function poshatatmakabu:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  poshatatMakabu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     '2ch+ypal'
          2        DO_ICALL                                                     
    8     3      > RETURN                                                       null

End of function poshatatmakabu

Function gotomailru:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  goToMailRu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     'prepare+your+anus'
          2        DO_ICALL                                                     
   11     3      > RETURN                                                       null

End of function gotomailru

End of class Abunyasha.

Class AnonOne:
Function ban:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  ban
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   16     0  E >   INIT_METHOD_CALL                                             'poshatatMakabu'
          1        DO_FCALL                                          0          
   17     2        INIT_METHOD_CALL                                             'goToMailRu'
          3        DO_FCALL                                          0          
   20     4      > RETURN                                                       'Ban+po+prichine%3A+ti+pidor%21'
   21     5*       VERIFY_RETURN_TYPE                                           
          6*     > RETURN                                                       null

End of function ban

Function poshatatmakabu:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  poshatatMakabu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     '2ch+ypal'
          2        DO_ICALL                                                     
    8     3      > RETURN                                                       null

End of function poshatatmakabu

Function gotomailru:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  goToMailRu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     'prepare+your+anus'
          2        DO_ICALL                                                     
   11     3      > RETURN                                                       null

End of function gotomailru

End of class AnonOne.

Class AnonTwo:
Function ban:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  ban
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   25     0  E >   INIT_METHOD_CALL                                             'poshatatMakabu'
          1        DO_FCALL                                          0          
   26     2        INIT_METHOD_CALL                                             'goToMailRu'
          3        DO_FCALL                                          0          
   29     4      > RETURN                                                       'Ban+po+prichine%3A+ti+animeshnik%21'
   30     5*       VERIFY_RETURN_TYPE                                           
          6*     > RETURN                                                       null

End of function ban

Function poshatatmakabu:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  poshatatMakabu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     '2ch+ypal'
          2        DO_ICALL                                                     
    8     3      > RETURN                                                       null

End of function poshatatmakabu

Function gotomailru:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  goToMailRu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     'prepare+your+anus'
          2        DO_ICALL                                                     
   11     3      > RETURN                                                       null

End of function gotomailru

End of class AnonTwo.

Class AnonThree:
Function ban:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  ban
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   34     0  E >   INIT_METHOD_CALL                                             'poshatatMakabu'
          1        DO_FCALL                                          0          
   35     2        INIT_METHOD_CALL                                             'goToMailRu'
          3        DO_FCALL                                          0          
   38     4      > RETURN                                                       'Ban+po+prichine%3A+ti+postil+cp%21'
   39     5*       VERIFY_RETURN_TYPE                                           
          6*     > RETURN                                                       null

End of function ban

Function poshatatmakabu:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  poshatatMakabu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     '2ch+ypal'
          2        DO_ICALL                                                     
    8     3      > RETURN                                                       null

End of function poshatatmakabu

Function gotomailru:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t2mUm
function name:  goToMailRu
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                                   'var_dump'
          1        SEND_VAL                                                     'prepare+your+anus'
          2        DO_ICALL                                                     
   11     3      > RETURN                                                       null

End of function gotomailru

End of class AnonThree.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.54 ms | 1473 KiB | 14 Q