3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; var_dump(is_a(function(){}, 'Closure', true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o8HIr
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_NS_FCALL_BY_NAME                                    'Foo%5CBar%5Cvar_dump'
          1        INIT_NS_FCALL_BY_NAME                                    'Foo%5CBar%5Cis_a'
          2        DECLARE_LAMBDA_FUNCTION                                  '%00foo%5Cbar%5C%7Bclosure%7D%2Fin%2Fo8HIr%3A5%240'
          3        SEND_VAL_EX                                              ~0
          4        SEND_VAL_EX                                              'Closure'
          5        SEND_VAL_EX                                              <true>
          6        DO_FCALL                                      0  $1      
          7        SEND_VAR_NO_REF_EX                                       $1
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function %00foo%5Cbar%5C%7Bclosure%7D%2Fin%2Fo8HIr%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o8HIr
function name:  Foo\Bar\{closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E > > RETURN                                                   null

End of function %00foo%5Cbar%5C%7Bclosure%7D%2Fin%2Fo8HIr%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1394 KiB | 17 Q