3v4l.org

run code in 300+ PHP versions simultaneously
<?php class s { function t() { call_user_func([$this, 'pprivate']); } private function pprivate() { echo 'Hello fuckable baby'; } } (new s)->t();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TRK5f
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $0      's'
          1        DO_FCALL                                      0          
          2        INIT_METHOD_CALL                                         $0, 't'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class s:
Function t:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TRK5f
function name:  t
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   FETCH_THIS                                       ~0      
          1        INIT_ARRAY                                       ~1      ~0
          2        ADD_ARRAY_ELEMENT                                ~1      'pprivate'
          3        INIT_USER_CALL                                0          'call_user_func', ~1
          4        DO_FCALL                                      0          
    6     5      > RETURN                                                   null

End of function t

Function pprivate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TRK5f
function name:  pprivate
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   ECHO                                                     'Hello+fuckable+baby'
    9     1      > RETURN                                                   null

End of function pprivate

End of class s.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.16 ms | 1398 KiB | 13 Q