<?php
$str = 'MerID=I0110DQX&OrderID=591&ResponseCode=1&ReasonCode=1&ReasonCodeDesc=Approved%2C+no+balances+available&PurchaseAmt=97.24&PurchaseCurrency=980&RRN=010156764656&AuthCode=208851&AmountRefunded=000000000000&AmountReversed=000000000000&ActualAmount=000000009724&AcqID=414963&Time=19%2F08%2F2013+10%3A36%3A42&IP=217.117.64.236&Phone=380957700418&OrderDescription=Ticket+purchase+from+http%3A%2F%2Fprivatbank.ua%2F&PaddedCardNo=5XXXXXXXXXXXX5658&fee=000000000000&eci=7&CountryBin=000&CountryIP=000&OnUs=1&CountryPhone=000&Signature=EjLR8GBlAM0dsBnZ46jy7opuEF4%3D';
print_r(explode('&', urldecode(htmlspecialchars_decode($str, ENT_QUOTES))));
- Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Array
(
[0] => MerID=I0110DQX
[1] => OrderID=591
[2] => ResponseCode=1
[3] => ReasonCode=1
[4] => ReasonCodeDesc=Approved, no balances available
[5] => PurchaseAmt=97.24
[6] => PurchaseCurrency=980
[7] => RRN=010156764656
[8] => AuthCode=208851
[9] => AmountRefunded=000000000000
[10] => AmountReversed=000000000000
[11] => ActualAmount=000000009724
[12] => AcqID=414963
[13] => Time=19/08/2013 10:36:42
[14] => IP=217.117.64.236
[15] => Phone=380957700418
[16] => OrderDescription=Ticket purchase from http://privatbank.ua/
[17] => PaddedCardNo=5XXXXXXXXXXXX5658
[18] => fee=000000000000
[19] => eci=7
[20] => CountryBin=000
[21] => CountryIP=000
[22] => OnUs=1
[23] => CountryPhone=000
[24] => Signature=EjLR8GBlAM0dsBnZ46jy7opuEF4=
)
- Output for 5.0.0 - 5.0.5
- Fatal error: Call to undefined function htmlspecialchars_decode() in /in/3tsRf on line 4
Process exited with code 255. - Output for 4.4.5 - 4.4.9
- Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/3tsRf on line 4
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
- Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/3tsRf on line 4
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/3tsRf on line 4
preferences:
224.4 ms | 401 KiB | 383 Q