3v4l.org

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

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
174.84 ms | 3068 KiB | 14 Q