3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( get_class(function(){}), function(){} instanceof Closure );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pjoF0
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        DECLARE_LAMBDA_FUNCTION                          ~0      [0]
          2        GET_CLASS                                        ~1      ~0
          3        SEND_VAL                                                 ~1
    5     4        DECLARE_LAMBDA_FUNCTION                          ~2      [1]
          5        INSTANCEOF                                       ~3      ~2, 'Closure'
          6        SEND_VAL                                                 ~3
    3     7        DO_ICALL                                                 
    6     8      > 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/pjoF0
function name:  {closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   null

End of Dynamic Function 0

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

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.43 ms | 1004 KiB | 14 Q