3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Performance { private static $measurements = []; public static function createMeasurement() { // ... } } class yoMama extends Performance{ public static function getThatTestShit(){ return self::$measurements; } } print_r( yoMama );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lg10O
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   INIT_FCALL                                               'print_r'
          1        FETCH_CONSTANT                                   ~0      'yoMama'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
          4      > RETURN                                                   1

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

End of function createmeasurement

End of class Performance.

Class yoMama:
Function getthattestshit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lg10O
function name:  getThatTestShit
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'measurements'
          1      > RETURN                                                   ~0
   17     2*     > RETURN                                                   null

End of function getthattestshit

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

End of function createmeasurement

End of class yoMama.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.28 ms | 1400 KiB | 15 Q