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::getThatTestShit() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JKhgY
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_STATIC_METHOD_CALL                                  'yoMama', 'getThatTestShit'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Class Performance:
Function createmeasurement:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JKhgY
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/JKhgY
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/JKhgY
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:
154.18 ms | 1395 KiB | 15 Q