3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = 'txn_status=0399|txn_msg=failure|txn_err_msg=Transaction Cancelled : ERROR CODE TPPGE161|clnt_txn_ref=9178|tpsl_bank_cd=NA|tpsl_txn_id=T245107|txn_amt=121.00|clnt_rqst_meta={mob:9937253528}{custname:pawan}|tpsl_txn_time=NA|tpsl_rfnd_id=NA|bal_amt=NA|rqst_token=cd3f6f55-5990-4c3b-bb12-238eede827a0|hash=3cf25909ec73865d3200bc267119d3fcc21df463'; parse_str(str_replace('|', '&', $input), $output); print_r($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KBaof
function name:  (null)
number of ops:  14
compiled vars:  !0 = $input, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'txn_status%3D0399%7Ctxn_msg%3Dfailure%7Ctxn_err_msg%3DTransaction+Cancelled+%3A+ERROR+CODE+TPPGE161%7Cclnt_txn_ref%3D9178%7Ctpsl_bank_cd%3DNA%7Ctpsl_txn_id%3DT245107%7Ctxn_amt%3D121.00%7Cclnt_rqst_meta%3D%7Bmob%3A9937253528%7D%7Bcustname%3Apawan%7D%7Ctpsl_txn_time%3DNA%7Ctpsl_rfnd_id%3DNA%7Cbal_amt%3DNA%7Crqst_token%3Dcd3f6f55-5990-4c3b-bb12-238eede827a0%7Chash%3D3cf25909ec73865d3200bc267119d3fcc21df463'
    3     1        INIT_FCALL                                               'parse_str'
          2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%7C'
          4        SEND_VAL                                                 '%26'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        SEND_REF                                                 !1
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.82 ms | 1438 KiB | 16 Q