3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parser = xml_parser_create(); xml_set_default_handler($parser, "this is not a valid callback"); function only_accepts_callables(callable $value) { } only_accepts_callables("this is not a valid callback");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0kBnZ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $parser
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'xml_parser_create'
          1        DO_ICALL                                         $1      
          2        ASSIGN                                                   !0, $1
    4     3        INIT_FCALL                                               'xml_set_default_handler'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'this+is+not+a+valid+callback'
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'only_accepts_callables'
          8        SEND_VAL                                                 'this+is+not+a+valid+callback'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function only_accepts_callables:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0kBnZ
function name:  only_accepts_callables
number of ops:  2
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1      > RETURN                                                   null

End of function only_accepts_callables

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.61 ms | 1435 KiB | 16 Q