3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', '1'); error_reporting(E_ALL); class Bla { private function a() { echo "A"; } } class Child extends Bla { private function a($a) { echo "Child A"; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xkt8s
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'display_errors'
          2        SEND_VAL                                                 '1'
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'error_reporting'
          5        SEND_VAL                                                 32767
          6        DO_ICALL                                                 
   20     7      > RETURN                                                   1

Class Bla:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xkt8s
function name:  a
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ECHO                                                     'A'
   11     1      > RETURN                                                   null

End of function a

End of class Bla.

Class Child:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xkt8s
function name:  a
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV                                             !0      
   18     1        ECHO                                                     'Child+A'
   19     2      > RETURN                                                   null

End of function a

End of class Child.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.98 ms | 1395 KiB | 17 Q