3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_regex_encoding('UTF-8'); $value = "text"; echo mb_ereg(chr(0xf0), $value), "\n"; echo mb_ereg(chr(0xe2), $value), "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Zilcd
function name:  (null)
number of ops:  17
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_regex_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'text'
    6     4        INIT_FCALL                                               'mb_ereg'
          5        SEND_VAL                                                 '%F0'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9        ECHO                                                     '%0A'
    7    10        INIT_FCALL                                               'mb_ereg'
         11        SEND_VAL                                                 '%E2'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15        ECHO                                                     '%0A'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.35 ms | 1394 KiB | 17 Q