<?php
$str = "form_key=kcE3W2vzParNhPN5&options%5B1508%5D=2025&options%5B1509%5D=1234&options%5B1510%5D=5678&options%5B1511%5D=&options%5B1512%5D=&options%5B1513%5D=&productId=59891";
$output = array();
parse_str($str, $output);
print_r($output);
- Output for 7.1.0 - 7.1.33, 7.2.0 - 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.4, 8.3.6
- Array
(
[form_key] => kcE3W2vzParNhPN5
[options] => Array
(
[1508] => 2025
[1509] => 1234
[1510] => 5678
[1511] =>
[1512] =>
[1513] =>
)
[productId] => 59891
)
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Array
(
[form_key] => kcE3W2vzParNhPN5
[options] => Array
(
[1508] => 2025
[1509] => 1234
[1510] => 5678
[1511] =>
[1512] =>
[1513] =>
)
[productId] => 59891
)
preferences:
154.23 ms | 402 KiB | 186 Q