3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bbq { static $soda; static function printSoda(){ echo $this->soda; } } bbq::$soda = 8675309; bbq::printSoda();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J1Upi
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   ASSIGN_STATIC_PROP                                       'soda', 'bbq'
          1        OP_DATA                                                  8675309
   12     2        INIT_STATIC_METHOD_CALL                                  'bbq', 'printSoda'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Class bbq:
Function printsoda:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J1Upi
function name:  printSoda
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_THIS                                       $0      
          1        FETCH_OBJ_R                                      ~1      $0, 'soda'
          2        ECHO                                                     ~1
    8     3      > RETURN                                                   null

End of function printsoda

End of class bbq.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.1 ms | 1393 KiB | 13 Q