3v4l.org

run code in 300+ PHP versions simultaneously
<?php fb_enable_code_coverage(); $ref = new ReflectionClass('ReflectionClass'); $data = fb_get_code_coverage(TRUE); fb_disable_code_coverage(); var_dump($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E6Qqt
function name:  (null)
number of ops:  16
compiled vars:  !0 = $ref, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'fb_enable_code_coverage'
          1        DO_FCALL                                      0          
    6     2        NEW                                              $3      'ReflectionClass'
          3        SEND_VAL_EX                                              'ReflectionClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $3
    8     6        INIT_FCALL_BY_NAME                                       'fb_get_code_coverage'
          7        SEND_VAL_EX                                              <true>
          8        DO_FCALL                                      0  $6      
          9        ASSIGN                                                   !1, $6
   10    10        INIT_FCALL_BY_NAME                                       'fb_disable_code_coverage'
         11        DO_FCALL                                      0          
   12    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.57 ms | 1394 KiB | 15 Q