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('\(.+\)'); $r = mb_ereg_search_getregs(); if($r) { $r = mb_ereg_search_getregs(); //get first result do{ $e[] = mb_ereg_search_regs() . PHP_EOL; }while($r); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 17
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 23
filename:       /in/rL9qt
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        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    5    10        INIT_FCALL                                               'mb_ereg_search_getregs'
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
    6    13      > JMPZ                                                     !0, ->23
    7    14    >   INIT_FCALL                                               'mb_ereg_search_getregs'
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !0, $8
    9    17    >   INIT_FCALL                                               'mb_ereg_search_regs'
         18        DO_ICALL                                         $11     
         19        CONCAT                                           ~12     $11, '%0A'
         20        ASSIGN_DIM                                               !1
         21        OP_DATA                                                  ~12
   10    22      > JMPNZ                                                    !0, ->17
   11    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.77 ms | 1395 KiB | 23 Q