3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class Module { public static function work($it) { return strtoupper($it); } } $module = 'Module'; echo $module::work('hello world'), "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/60J3v
function name:  (null)
number of ops:  8
compiled vars:  !0 = $module
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 'Module'
   10     1        FETCH_CLASS                                   0  $2      !0
          2        INIT_STATIC_METHOD_CALL                                  $2, 'work'
          3        SEND_VAL_EX                                              'hello+world'
          4        DO_FCALL                                      0  $3      
          5        ECHO                                                     $3
          6        ECHO                                                     '%0A'
          7      > RETURN                                                   1

Class Module:
Function work:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/60J3v
function name:  work
number of ops:  6
compiled vars:  !0 = $it
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'strtoupper'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $1      
          4      > RETURN                                                   $1
    6     5*     > RETURN                                                   null

End of function work

End of class Module.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.27 ms | 1394 KiB | 15 Q