3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(mb_regex_set_options("m")); var_dump(mb_regex_set_options("mdi")); var_dump(mb_regex_set_options("m")); var_dump(mb_regex_set_options("a"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5fiCT
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'mb_regex_set_options'
          2        SEND_VAL                                                     'm'
          3        DO_ICALL                                             $0      
          4        SEND_VAR                                                     $0
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'var_dump'
          7        INIT_FCALL                                                   'mb_regex_set_options'
          8        SEND_VAL                                                     'mdi'
          9        DO_ICALL                                             $2      
         10        SEND_VAR                                                     $2
         11        DO_ICALL                                                     
    5    12        INIT_FCALL                                                   'var_dump'
         13        INIT_FCALL                                                   'mb_regex_set_options'
         14        SEND_VAL                                                     'm'
         15        DO_ICALL                                             $4      
         16        SEND_VAR                                                     $4
         17        DO_ICALL                                                     
    6    18        INIT_FCALL                                                   'var_dump'
         19        INIT_FCALL                                                   'mb_regex_set_options'
         20        SEND_VAL                                                     'a'
         21        DO_ICALL                                             $6      
         22        SEND_VAR                                                     $6
         23        DO_ICALL                                                     
         24      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
225.36 ms | 3334 KiB | 15 Q