3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'status=200&username=14109FE1EDB7,BCF5ACBBA80F,F04F7C24B714'; if (preg_match('/status=200/', $var)) { print_r(preg_filter('/status=200&username=/', '', $var)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/Gb8hp
function name:  (null)
number of ops:  15
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'status%3D200%26username%3D14109FE1EDB7%2CBCF5ACBBA80F%2CF04F7C24B714'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2Fstatus%3D200%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5      > JMPZ                                                     $2, ->14
    5     6    >   INIT_FCALL                                               'print_r'
          7        INIT_FCALL                                               'preg_filter'
          8        SEND_VAL                                                 '%2Fstatus%3D200%26username%3D%2F'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
    6    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.1 ms | 1394 KiB | 19 Q