3v4l.org

run code in 300+ PHP versions simultaneously
<?php class LOLPHP { public static function its_lol() { $b = new LOL(); $b->lol_and_crap(); } } class LOL extends LOLPHP { protected function lol_and_crap() { echo "PHP the lollest of them all"; } } LOLPHP::its_lol();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZr8Y
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_STATIC_METHOD_CALL                                  'LOLPHP', 'its_lol'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class LOLPHP:
Function its_lol:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZr8Y
function name:  its_lol
number of ops:  6
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'LOL'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        INIT_METHOD_CALL                                         !0, 'lol_and_crap'
          4        DO_FCALL                                      0          
    7     5      > RETURN                                                   null

End of function its_lol

End of class LOLPHP.

Class LOL:
Function lol_and_crap:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZr8Y
function name:  lol_and_crap
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ECHO                                                     'PHP+the+lollest+of+them+all'
   13     1      > RETURN                                                   null

End of function lol_and_crap

Function its_lol:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QZr8Y
function name:  its_lol
number of ops:  6
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'LOL'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    6     3        INIT_METHOD_CALL                                         !0, 'lol_and_crap'
          4        DO_FCALL                                      0          
    7     5      > RETURN                                                   null

End of function its_lol

End of class LOL.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.25 ms | 1395 KiB | 13 Q