3v4l.org

run code in 500+ 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 = 9
Branch analysis from position: 6
1 jumps found. (Code = 61) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 19, Position 2 = 23
Branch analysis from position: 19
1 jumps found. (Code = 61) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 40
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 30
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 30
Branch analysis from position: 41
Branch analysis from position: 30
filename:       /in/JWP3O
function name:  (null)
number of ops:  42
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.5.0'
          2        SEND_VAL                                                     '5.6.0'
          3        SEND_VAL                                                     '%3E%3D'
          4        DO_ICALL                                             $2      
          5      > JMPNZ_EX                                             ~3      $2, ->9
          6    > > INIT_FCALL                                                   'exit'
          7*       DO_ICALL                                             $4      
          8*       BOOL                                                 ~3      $4
    5     9    >   ECHO                                                         'mb_regex_encoding+%3D+'
         10        INIT_FCALL                                                   'mb_regex_encoding'
         11        DO_ICALL                                             $5      
         12        ECHO                                                         $5
         13        ECHO                                                         '%0A%0A'
    7    14        INIT_FCALL                                                   'mb_ereg_search_init'
         15        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'
         16        SEND_VAL                                                     '.'
         17        DO_ICALL                                             $6      
         18      > JMPNZ_EX                                             ~7      $6, ->23
         19    > > INIT_FCALL                                                   'exit'
         20*       SEND_VAL                                                     'mb_ereg_search_init'
         21*       DO_ICALL                                             $8      
         22*       BOOL                                                 ~7      $8
    8    23    >   INIT_FCALL                                                   'mb_ereg_search'
         24        DO_ICALL                                                     
   10    25        INIT_FCALL                                                   'mb_ereg_search_getregs'
         26        DO_ICALL                                             $10     
         27        ASSIGN                                                       !0, $10
   11    28        ASSIGN                                                       !1, 1
         29      > JMP                                                          ->40
   12    30    >   INIT_FCALL                                                   'printf'
         31        SEND_VAL                                                     '%253d+%3D+%25s%0A'
         32        SEND_VAR                                                     !1
         33        FETCH_DIM_R                                          ~13     !0, 0
         34        SEND_VAL                                                     ~13
         35        DO_ICALL                                                     
   13    36        INIT_FCALL                                                   'mb_ereg_search_regs'
         37        DO_ICALL                                             $15     
         38        ASSIGN                                                       !0, $15
   11    39        PRE_INC                                                      !1
         40    > > JMPNZ                                                        !0, ->30
   14    41    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
231.54 ms | 2681 KiB | 21 Q