3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'status=200&username=14109FE1EDB7,BCF5ACBBA80F,F04F7C24B714'; if (preg_match('/status=200/', $var)) { $arr = explode(',', preg_filter('/status=200&username=/', '', $var)); } print_r($arr);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/PRfRP
function name:  (null)
number of ops:  20
compiled vars:  !0 = $var, !1 = $arr
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                                         $3      
          5      > JMPZ                                                     $3, ->16
    5     6    >   INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '%2C'
          8        INIT_FCALL                                               'preg_filter'
          9        SEND_VAL                                                 '%2Fstatus%3D200%26username%3D%2F'
         10        SEND_VAL                                                 ''
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        ASSIGN                                                   !1, $5
    8    16    >   INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.88 ms | 1395 KiB | 21 Q