3v4l.org

run code in 500+ PHP versions simultaneously
<?php class foo {} $bar = function () { return static::class; }; $bar->call(new foo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8vZhA
function name:  (null)
number of ops:  8
compiled vars:  !0 = $bar
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   DECLARE_LAMBDA_FUNCTION                              ~1      [0]
          1        ASSIGN                                                       !0, ~1
    8     2        INIT_METHOD_CALL                                             !0, 'call'
          3        NEW                                                  $3      'foo'
          4        DO_FCALL                                          0          
          5        SEND_VAR_NO_REF_EX                                           $3
          6        DO_FCALL                                          0          
          7      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8vZhA
function name:  {closure:/in/8vZhA:4}
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    5     0  E >   FETCH_CLASS_NAME                                     ~0      
          1      > RETURN                                                       ~0
    6     2*     > RETURN                                                       null

End of Dynamic Function 0

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.1 ms | 2717 KiB | 13 Q