3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_regex_encoding("UTF-8"); mb_ereg_search_init('(ab(cd)ef)'); $r = mb_ereg_search('\(.+\)', 'b'); $r = mb_ereg_search_getregs(); if($r) { $r = mb_ereg_search_getregs(); //get first result do{ $e[] = mb_ereg_search_regs(); }while($r); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 23
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 18
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 23
filename:       /in/ttstl
function name:  (null)
number of ops:  24
compiled vars:  !0 = $r, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_regex_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'mb_ereg_search_init'
          4        SEND_VAL                                                 '%28ab%28cd%29ef%29'
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'mb_ereg_search'
          7        SEND_VAL                                                 '%5C%28.%2B%5C%29'
          8        SEND_VAL                                                 'b'
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    5    11        INIT_FCALL                                               'mb_ereg_search_getregs'
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !0, $6
    6    14      > JMPZ                                                     !0, ->23
    7    15    >   INIT_FCALL                                               'mb_ereg_search_getregs'
         16        DO_ICALL                                         $8      
         17        ASSIGN                                                   !0, $8
    9    18    >   INIT_FCALL                                               'mb_ereg_search_regs'
         19        DO_ICALL                                         $11     
         20        ASSIGN_DIM                                               !1
         21        OP_DATA                                                  $11
   10    22      > JMPNZ                                                    !0, ->18
   11    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175 ms | 1395 KiB | 23 Q