3v4l.org

run code in 300+ PHP versions simultaneously
<?php version_compare(PHP_VERSION, "5.6.0", ">=") || die(); echo "mb_regex_encoding = ", mb_regex_encoding(), "\n\n"; mb_ereg_search_init("από το Άξιον Εστί", '.') or die("mb_ereg_search_init"); mb_ereg_search(); $r = mb_ereg_search_getregs(); for ($i = 1; $r; $i++) { printf("%3d = %s\n", $i, $r[0]); $r = mb_ereg_search_regs(); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 47) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 27
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 38, Position 2 = 27
Branch analysis from position: 38
Branch analysis from position: 27
filename:       /in/JWP3O
function name:  (null)
number of ops:  39
compiled vars:  !0 = $r, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'version_compare'
          1        SEND_VAL                                                 '8.0.0'
          2        SEND_VAL                                                 '5.6.0'
          3        SEND_VAL                                                 '%3E%3D'
          4        DO_ICALL                                         $2      
          5      > JMPNZ_EX                                         ~3      $2, ->8
          6    > > EXIT                                                     
          7*       BOOL                                             ~3      <true>
    5     8    >   ECHO                                                     'mb_regex_encoding+%3D+'
          9        INIT_FCALL                                               'mb_regex_encoding'
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12        ECHO                                                     '%0A%0A'
    7    13        INIT_FCALL                                               'mb_ereg_search_init'
         14        SEND_VAL                                                 '%CE%B1%CF%80%CF%8C+%CF%84%CE%BF+%CE%86%CE%BE%CE%B9%CE%BF%CE%BD+%CE%95%CF%83%CF%84%CE%AF'
         15        SEND_VAL                                                 '.'
         16        DO_ICALL                                         $5      
         17      > JMPNZ_EX                                         ~6      $5, ->20
         18    > > EXIT                                                     'mb_ereg_search_init'
         19*       BOOL                                             ~6      <true>
    8    20    >   INIT_FCALL                                               'mb_ereg_search'
         21        DO_ICALL                                                 
   10    22        INIT_FCALL                                               'mb_ereg_search_getregs'
         23        DO_ICALL                                         $8      
         24        ASSIGN                                                   !0, $8
   11    25        ASSIGN                                                   !1, 1
         26      > JMP                                                      ->37
   12    27    >   INIT_FCALL                                               'printf'
         28        SEND_VAL                                                 '%253d+%3D+%25s%0A'
         29        SEND_VAR                                                 !1
         30        FETCH_DIM_R                                      ~11     !0, 0
         31        SEND_VAL                                                 ~11
         32        DO_ICALL                                                 
   13    33        INIT_FCALL                                               'mb_ereg_search_regs'
         34        DO_ICALL                                         $13     
         35        ASSIGN                                                   !0, $13
   11    36        PRE_INC                                                  !1
         37    > > JMPNZ                                                    !0, ->27
   14    38    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.83 ms | 1400 KiB | 27 Q