3v4l.org

run code in 300+ PHP versions simultaneously
<?php fb_enable_code_coverage(); $ref = preg_match('/abc/', 'abc'); $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/Gj4hA
function name:  (null)
number of ops:  17
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        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2Fabc%2F'
          4        SEND_VAL                                                 'abc'
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    8     7        INIT_FCALL_BY_NAME                                       'fb_get_code_coverage'
          8        SEND_VAL_EX                                              <true>
          9        DO_FCALL                                      0  $5      
         10        ASSIGN                                                   !1, $5
   10    11        INIT_FCALL_BY_NAME                                       'fb_disable_code_coverage'
         12        DO_FCALL                                      0          
   12    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.9 ms | 1394 KiB | 17 Q