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) { echo "null\n"; }else{ $r = mb_ereg_search_getregs(); //get first result do{ echo mb_ereg_search_regs() . PHP_EOL; }while($r); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 17
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 20
Branch analysis from position: 25
Branch analysis from position: 20
filename:       /in/eqrnW
function name:  (null)
number of ops:  26
compiled vars:  !0 = $r
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                                         $3      
          9        ASSIGN                                                   !0, $3
    5    10        INIT_FCALL                                               'mb_ereg_search_getregs'
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !0, $5
    6    13        BOOL_NOT                                         ~7      !0
         14      > JMPZ                                                     ~7, ->17
    7    15    >   ECHO                                                     'null%0A'
         16      > JMP                                                      ->25
    9    17    >   INIT_FCALL                                               'mb_ereg_search_getregs'
         18        DO_ICALL                                         $8      
         19        ASSIGN                                                   !0, $8
   11    20    >   INIT_FCALL                                               'mb_ereg_search_regs'
         21        DO_ICALL                                         $10     
         22        CONCAT                                           ~11     $10, '%0A'
         23        ECHO                                                     ~11
   12    24      > JMPNZ                                                    !0, ->20
   13    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.7 ms | 1395 KiB | 23 Q