3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Doge { public function dogeMember() { echo "Hello From Doge\r\n"; $this->nonDogeMember(); } } class DogeCoin extends Doge { public function nonDogeMember() { echo "Hello from DogeCoin\r\n"; } } $d = new DogeCoin; $d->dogeMember();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7i7m
function name:  (null)
number of ops:  6
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   NEW                                              $1      'DogeCoin'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   21     3        INIT_METHOD_CALL                                         !0, 'dogeMember'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class Doge:
Function dogemember:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7i7m
function name:  dogeMember
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Hello+From+Doge%0D%0A'
    8     1        INIT_METHOD_CALL                                         'nonDogeMember'
          2        DO_FCALL                                      0          
    9     3      > RETURN                                                   null

End of function dogemember

End of class Doge.

Class DogeCoin:
Function nondogemember:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7i7m
function name:  nonDogeMember
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ECHO                                                     'Hello+from+DogeCoin%0D%0A'
   17     1      > RETURN                                                   null

End of function nondogemember

Function dogemember:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k7i7m
function name:  dogeMember
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'Hello+From+Doge%0D%0A'
    8     1        INIT_METHOD_CALL                                         'nonDogeMember'
          2        DO_FCALL                                      0          
    9     3      > RETURN                                                   null

End of function dogemember

End of class DogeCoin.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.67 ms | 1386 KiB | 13 Q