3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding('ASCII'); mb_regex_encoding('ASCII'); # var_dump(mb_ereg('TEST', "q\x00TEST"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Ykne
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'ASCII'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'mb_regex_encoding'
          4        SEND_VAL                                                 'ASCII'
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'mb_ereg'
          8        SEND_VAL                                                 'TEST'
          9        SEND_VAL                                                 'q%00TEST'
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.47 ms | 1394 KiB | 21 Q