3v4l.org

run code in 300+ PHP versions simultaneously
<?php class everything{ public static function must(){ return "go!"; } } print call_user_func( array( accessorFunction(), "must")); function accessorFunction(){ return 'everything'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DZYOl
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL_BY_NAME                                       'accessorFunction'
          1        DO_FCALL                                      0  $0      
          2        INIT_ARRAY                                       ~1      $0
          3        ADD_ARRAY_ELEMENT                                ~1      'must'
          4        INIT_USER_CALL                                0          'call_user_func', ~1
          5        DO_FCALL                                      0  $2      
          6        ECHO                                                     $2
   13     7      > RETURN                                                   1

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

End of function accessorfunction

Class everything:
Function must:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DZYOl
function name:  must
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   'go%21'
    6     1*     > RETURN                                                   null

End of function must

End of class everything.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.17 ms | 1394 KiB | 13 Q