3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pepe { const LITO = 'hola'; static function dame($a) { echo static::$a; } } Pepe::dame('lito');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9a6gQ
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'Pepe', 'dame'
          1        SEND_VAL                                                 'lito'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class Pepe:
Function dame:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9a6gQ
function name:  dame
number of ops:  4
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        FETCH_STATIC_PROP_R          unknown             ~1      'a'
          2        ECHO                                                     ~1
    9     3      > RETURN                                                   null

End of function dame

End of class Pepe.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.6 ms | 1392 KiB | 13 Q