3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(is_callable('ReflectionMethod::export')); var_dump(is_callable(array(new Exception, 'getMessage')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4T3ii
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'is_callable'
          2        SEND_VAL                                                 'ReflectionMethod%3A%3Aexport'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'is_callable'
          8        NEW                                              $2      'Exception'
          9        DO_FCALL                                      0          
         10        INIT_ARRAY                                       ~4      $2
         11        ADD_ARRAY_ELEMENT                                ~4      'getMessage'
         12        SEND_VAL                                                 ~4
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.68 ms | 1394 KiB | 17 Q